Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (10 sloc) 363 Bytes
/* flaglist.h */
#ifndef _FLAGLIST_H_
#define _FLAGLIST_H_
#include <basics.h>
struct flaglist { const char *name; int flag; };
#define FLAGLIST_EMPTY { NULL, 0 }
#define FLAG_UNKNOWN ((int32)0x80000000)
extern int FindFlagByName( struct flaglist *flaglist, const char *name );
extern const char *FindNameOfFlag( struct flaglist *flaglist, int flag );
Something went wrong with that request. Please try again.