00001
00002
00003 #ifndef AUTOKEY_H
00004 #define AUTOKEY_H
00005
00006 #ifdef __cplusplus
00007 extern "C"
00008 {
00009 #endif
00010
00011 #define AUTOKEY_NAMELENGTH (32)
00012
00013 struct AUTOKEY_TABLE_ENTRY
00014 {
00015 char name[AUTOKEY_NAMELENGTH];
00016 unsigned int chksum;
00017 };
00018
00019 extern int autokey_getkey (void *table, int max, const char *name);
00020 extern int autokey_releasekey (void *table, int max, const char *name,
00021 int key);
00022
00023 #ifdef __cplusplus
00024 }
00025 #endif
00026
00027
00028 #endif