문제

I found that there is "userData" filed in BASCommandSpec in BAS library:

struct BASCommandSpec {
    const char *    commandName;
    const char *    rightName;
    const char *    rightDefaultRule;
    const char *    rightDescriptionKey;
    const void *    userData;
};
typedef struct BASCommandSpec BASCommandSpec;

But I haven't found a way to use it. Does anybody know whether that is a useful field or just "reserved"? The documentation says that this can hold any value because BAS doesn't use it.

Is there is any other easy-to-use authorization lib/sample in C?

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top