/usr/include/pike8.0/pike/module.h is in pike8.0-dev 8.0.498-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | /*
|| 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
|