myconfig.h

Go to the documentation of this file.
00001 #ifndef __MYCONFIG_H__
00002 #define __MYCONFIG_H__
00003 struct myconfig{
00004 char *name;
00005 void *config;
00006 int type;
00007 char *note;
00008 char *(*complete)(char *text,int state);
00009 struct mysymbol *next;
00010 };
00011 #define CONFIG_I 0
00012 #define CONFIG_S 1
00013 
00014 
00015 #define myconfig_init(name,config,type,note)                              \
00016             struct myconfig  __myconfig_##config __attribute__ ((unused,__section__ (".myconfig"))) = {name,&config,type,note,0,0};
00017 #define myconfig_init1(name,config,type,note,complete)                              \
00018             struct myconfig  __myconfig_##config __attribute__ ((unused,__section__ (".myconfig"))) = {name,&config,type,note,complete,0};
00019 #endif

Generated on Fri Nov 5 07:24:46 2010 for ejtag debug tools for loongson 232 cpu by  doxygen 1.5.6