Skip to content
Snippets Groups Projects
Select Git revision
  • 359289d0c01fa8892ccca1ca0e52f1b4d603b673
  • master default protected
  • 9.0
  • 8.0
  • 7.8
  • 7.6
  • 7.4
  • 7.2
  • 7.0
  • 0.6
  • rosuav/latex-markdown-renderer
  • rxnpatch/rxnpatch
  • marcus/gobject-introspection
  • rxnpatch/8.0
  • rosuav/pre-listening-ports
  • nt-tools
  • rosuav/async-annotations
  • rosuav/pgsql-ssl
  • rxnpatch/rxnpatch-broken/2023-10-06T094250
  • grubba/fdlib
  • grubba/wip/sakura/8.0
  • v8.0.2000
  • v8.0.1998
  • v8.0.1996
  • v8.0.1994
  • v8.0.1992
  • v8.0.1990
  • v8.0.1988
  • v8.0.1986
  • rxnpatch/clusters/8.0/2025-04-29T124414
  • rxnpatch/2025-04-29T124414
  • v8.0.1984
  • v8.0.1982
  • v8.0.1980
  • v8.0.1978
  • v8.0.1976
  • v8.0.1974
  • v8.0.1972
  • v8.0.1970
  • v8.0.1968
  • v8.0.1966
41 results

callback.c

Blame
  • module.h 702 B
    /*\
    ||| This file a part of uLPC, and is copyright by Fredrik Hubinette
    ||| uLPC is distributed as GPL (General Public License)
    ||| See the files COPYING and DISCLAIMER for more information.
    \*/
    #ifndef MODULE_H
    #define MODULE_H
    
    #include "types.h"
    
    typedef void (*fun)(void);
    
    struct module
    {
      char *name;
      fun init_efuns;  /* this one _might_ be called before the master is compiled */
      fun init_programs; /* this one is called after the master is compiled */
      fun exit;
      INT32 refs;
    };
    
    #define UGLY_WORKAROUND []
    extern struct module *current_module;
    
    /* Prototypes begin here */
    void init_modules_efuns();
    void init_modules_programs();
    void exit_modules();
    /* Prototypes end here */
    
    
    #endif