Skip to content
Snippets Groups Projects
Select Git revision
  • c43e8cadd02224b249156fd2ff3e44e8f71c7b88
  • master default protected
  • 9.0
  • 8.0
  • nt-tools
  • 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
  • rosuav/async-annotations
  • rosuav/pgsql-ssl
  • rxnpatch/rxnpatch-broken/2023-10-06T094250
  • grubba/fdlib
  • grubba/wip/sakura/8.0
  • v8.0.2020
  • v8.0.2018
  • v8.0.2016
  • v8.0.2014
  • v8.0.2012
  • v8.0.2008
  • v8.0.2006
  • v8.0.2004
  • v8.0.2002
  • 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
41 results

module.h

Blame
  • module.h 992 B
    /*
    || This file is part of Pike. For copyright information see COPYRIGHT.
    || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
    || for more information.
    */
    
    #ifndef MODULE_H
    #define MODULE_H
    
    #include "global.h"
    
    #if defined(DYNAMIC_MODULE) && defined(__NT__)
    #define PIKE_MODULE_INIT __declspec(dllexport) void pike_module_init(void)
    #define PIKE_MODULE_EXIT __declspec(dllexport) void pike_module_exit(void)
    #else
    #define PIKE_MODULE_INIT PMOD_EXPORT void pike_module_init(void)
    #define PIKE_MODULE_EXIT PMOD_EXPORT void pike_module_exit(void)
    #endif /* DYNAMIC_MODULE && __NT__ */
    
    /* Prototypes begin here */
    struct static_module;
    const struct static_module *find_semidynamic_module(const char *name,
    						    int namelen);
    void *get_semidynamic_init_fun(const struct static_module *sm);
    void *get_semidynamic_exit_fun(const struct static_module *sm);
    void init_modules(void);
    void exit_modules(void);
    PIKE_MODULE_INIT;
    PIKE_MODULE_EXIT;
    /* Prototypes end here */
    
    #endif