openenvutils/commandshell/shell/inc/module.epro
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 /* Generated automatically */
       
     2 #ifndef have_Src_module_globals
       
     3 #define have_Src_module_globals
       
     4 
       
     5 extern LinkList linkedmodules;
       
     6 extern int setup_ _((UNUSED(Module m)));
       
     7 extern int boot_ _((UNUSED(Module m)));
       
     8 extern int cleanup_ _((UNUSED(Module m)));
       
     9 extern int finish_ _((UNUSED(Module m)));
       
    10 extern void register_module _((char*n,Module_func setup,Module_func boot,Module_func cleanup,Module_func finish));
       
    11 extern Linkedmod module_linked _((char const*name));
       
    12 extern int addbuiltin _((Builtin b));
       
    13 extern mod_import_function int addbuiltins _((char const*nam,Builtin binl,int size));
       
    14 extern FuncWrap wrappers;
       
    15 extern mod_import_function int addwrapper _((Module m,FuncWrap w));
       
    16 extern char**module_path;
       
    17 extern mod_import_variable LinkList modules;
       
    18 extern int add_autobin _((char*nam,char*module));
       
    19 extern int deletebuiltin _((char*nam));
       
    20 extern mod_import_function int deletebuiltins _((char const*nam,Builtin binl,int size));
       
    21 extern mod_import_function int deletewrapper _((Module m,FuncWrap w));
       
    22 #ifdef DYNAMIC
       
    23 #ifdef AIXDYNAMIC
       
    24 #else
       
    25 #ifdef HPUXDYNAMIC
       
    26 #endif
       
    27 #endif /* !AIXDYNAMIC */
       
    28 #else /* !DYNAMIC */
       
    29 #endif /* !DYNAMIC */
       
    30 extern mod_import_function int module_loaded _((const char*name));
       
    31 #ifdef DYNAMIC
       
    32 #ifdef AIXDYNAMIC
       
    33 #else
       
    34 #endif /* !AIXDYNAMIC */
       
    35 #else /* !DYNAMIC */
       
    36 #endif /* !DYNAMIC */
       
    37 extern mod_import_function int load_module _((char const*name));
       
    38 extern mod_import_function int require_module _((char*nam,const char*module,UNUSED(int res),int test));
       
    39 extern void add_dep _((const char*name,char*from));
       
    40 extern int bin_zmodload _((char*nam,char**args,Options ops,UNUSED(int func)));
       
    41 extern int unload_module _((Module m,LinkNode node));
       
    42 extern mod_import_variable Conddef condtab;
       
    43 extern Conddef getconddef _((int inf,char*name,int autol));
       
    44 extern int addconddef _((Conddef c));
       
    45 extern mod_import_function int addconddefs _((char const*nam,Conddef c,int size));
       
    46 extern Hookdef hooktab;
       
    47 extern Hookdef gethookdef _((char*n));
       
    48 extern int addhookdef _((Hookdef h));
       
    49 extern mod_import_function int addhookdefs _((char const*nam,Hookdef h,int size));
       
    50 extern int deletehookdef _((Hookdef h));
       
    51 extern mod_import_function int deletehookdefs _((UNUSED(char const*nam),Hookdef h,int size));
       
    52 extern int addhookdeffunc _((Hookdef h,Hookfn f));
       
    53 extern mod_import_function int addhookfunc _((char*n,Hookfn f));
       
    54 extern int deletehookdeffunc _((Hookdef h,Hookfn f));
       
    55 extern mod_import_function int deletehookfunc _((char*n,Hookfn f));
       
    56 extern mod_import_function int runhookdef _((Hookdef h,void*d));
       
    57 extern int runhook _((char*n,void*d));
       
    58 extern int addparamdef _((Paramdef d));
       
    59 extern mod_import_function int addparamdefs _((char const*nam,Paramdef d,int size));
       
    60 extern int deleteparamdef _((Paramdef d));
       
    61 extern mod_import_function int deleteparamdefs _((UNUSED(char const*nam),Paramdef d,int size));
       
    62 extern int add_autocond _((char*nam,int inf,char*module));
       
    63 extern int deleteconddef _((Conddef c));
       
    64 extern mod_import_function int deleteconddefs _((char const*nam,Conddef c,int size));
       
    65 extern void add_autoparam _((char*nam,char*module));
       
    66 extern MathFunc mathfuncs;
       
    67 extern MathFunc getmathfunc _((char*name,int autol));
       
    68 extern mod_import_function int addmathfunc _((MathFunc f));
       
    69 extern mod_import_function int addmathfuncs _((char const*nam,MathFunc f,int size));
       
    70 extern int add_automathfunc _((char*nam,char*module));
       
    71 extern mod_import_function int deletemathfunc _((MathFunc f));
       
    72 extern mod_import_function int deletemathfuncs _((char const*nam,MathFunc f,int size));
       
    73 
       
    74 #endif /* !have_Src_module_globals */