次のルーチンは、指定された承認 ID を ASCII に変換し、再び元の形式に戻します。
char *auth_to_str( auth_t auth_id); auth_t str_to_auth( char *auth_name);