e576bb2002-10-11Martin Nilsson /* || 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. */
1b10db2002-10-08Martin Nilsson 
1f606b1997-01-28Henrik Grubbström (Grubba) /* * Prototypes for the Pike system-module * */ #ifndef PIKE_MODULES_SYSTEM_H #define PIKE_MODULES_SYSTEM_H /* * Includes */
78c6e01998-02-24Fredrik Hübinette (Hubbe) #include "global.h" #include "pike_types.h"
1f606b1997-01-28Henrik Grubbström (Grubba)  /* * Prototypes */ /* * passwords.c */
1c9eff1997-09-07Per Hedbor void f_getgrnam(INT32 args); void f_getgrgid(INT32 args);
1f606b1997-01-28Henrik Grubbström (Grubba) void f_getpwnam(INT32 args); void f_getpwuid(INT32 args); void f_setpwent(INT32 args); void f_endpwent(INT32 args); void f_getpwent(INT32 args);
51dc981998-03-03Martin Stjernholm void f_setgrent(INT32 args); void f_endgrent(INT32 args); void f_getgrent(INT32 args);
1f606b1997-01-28Henrik Grubbström (Grubba)  /* * syslog.c */ void f_openlog(INT32 args); void f_syslog(INT32 args); void f_closelog(INT32 args); #endif /* PIKE_MODULES_SYSTEM_H */
2d77ee2001-02-04Mirar (Pontus Hagland)  /* * memory.c */
183f262003-10-10Martin Nilsson #ifdef HAVE_WINDOWS_H #define WIN32SHM #endif
2d77ee2001-02-04Mirar (Pontus Hagland) struct memory_storage { unsigned char *p; size_t size;
13670c2015-05-25Martin Nilsson 
2d77ee2001-02-04Mirar (Pontus Hagland) #define MEM_READ 0x01 #define MEM_WRITE 0x02 #define MEM_FREE_FREE 0x10
13670c2015-05-25Martin Nilsson #define MEM_FREE_MUNMAP 0x20
06d7b12001-12-06Per Hedbor #define MEM_FREE_SHMDEL 0x40
2d77ee2001-02-04Mirar (Pontus Hagland)  unsigned long flags;
183f262003-10-10Martin Nilsson #ifdef WIN32SHM
5d4bd92003-07-12Per Hedbor  void *extra;
183f262003-10-10Martin Nilsson #endif
2d77ee2001-02-04Mirar (Pontus Hagland) };