Back to index

php5  5.3.10
Classes | Defines | Functions
tsrm_win32.h File Reference
#include "TSRM.h"
#include <windows.h>

Go to the source code of this file.

Classes

struct  ipc_perm
struct  shmid_ds
struct  process_pair
struct  shm_pair
struct  tsrm_win32_globals

Defines

#define TWG(v)   (win32_globals.v)
#define IPC_PRIVATE   0
#define IPC_CREAT   00001000
#define IPC_EXCL   00002000
#define IPC_NOWAIT   00004000
#define IPC_RMID   0
#define IPC_SET   1
#define IPC_STAT   2
#define IPC_INFO   3
#define SHM_R   PAGE_READONLY
#define SHM_W   PAGE_READWRITE
#define SHM_RDONLY   FILE_MAP_READ
#define SHM_RND   FILE_MAP_WRITE
#define SHM_REMAP   FILE_MAP_COPY

Functions

char * tsrm_win32_get_path_sid_key (const char *pathname TSRMLS_DC)
TSRM_API void tsrm_win32_startup (void)
TSRM_API void tsrm_win32_shutdown (void)
TSRM_API FILE * popen_ex (const char *command, const char *type, const char *cwd, char *env)
TSRM_API FILE * popen (const char *command, const char *type)
TSRM_API int pclose (FILE *stream)
TSRM_API int tsrm_win32_access (const char *pathname, int mode)
TSRM_API int win32_utime (const char *filename, struct utimbuf *buf)
TSRM_API int shmget (int key, int size, int flags)
TSRM_API void * shmat (int key, const void *shmaddr, int flags)
TSRM_API int shmdt (const void *shmaddr)
TSRM_API int shmctl (int key, int cmd, struct shmid_ds *buf)
TSRM_API char * realpath (char *orig_path, char *buffer)

Class Documentation

struct ipc_perm

Definition at line 27 of file tsrm_win32.h.

Class Members
unsigned short cgid
unsigned short cuid
unsigned short gid
int key
unsigned short mode
unsigned short seq
unsigned short uid
struct shmid_ds

Definition at line 37 of file tsrm_win32.h.

Class Members
time_t shm_atime
unsigned short shm_cpid
time_t shm_ctime
time_t shm_dtime
unsigned short shm_lpid
short shm_nattch
int shm_segsz
struct process_pair

Definition at line 48 of file tsrm_win32.h.

Class Members
HANDLE prochnd
FILE * stream
struct shm_pair

Definition at line 53 of file tsrm_win32.h.

Collaboration diagram for shm_pair:
Class Members
void * addr
struct shmid_ds * descriptor
HANDLE info
HANDLE segment
struct tsrm_win32_globals

Definition at line 60 of file tsrm_win32.h.

Collaboration diagram for tsrm_win32_globals:
Class Members
char * comspec
HANDLE impersonation_token
PSID impersonation_token_sid
process_pair * process
int process_size
shm_pair * shm
int shm_size

Define Documentation

#define IPC_CREAT   00001000

Definition at line 77 of file tsrm_win32.h.

#define IPC_EXCL   00002000

Definition at line 78 of file tsrm_win32.h.

#define IPC_INFO   3

Definition at line 84 of file tsrm_win32.h.

#define IPC_NOWAIT   00004000

Definition at line 79 of file tsrm_win32.h.

#define IPC_PRIVATE   0

Definition at line 76 of file tsrm_win32.h.

#define IPC_RMID   0

Definition at line 81 of file tsrm_win32.h.

#define IPC_SET   1

Definition at line 82 of file tsrm_win32.h.

#define IPC_STAT   2

Definition at line 83 of file tsrm_win32.h.

#define SHM_R   PAGE_READONLY

Definition at line 86 of file tsrm_win32.h.

#define SHM_RDONLY   FILE_MAP_READ

Definition at line 89 of file tsrm_win32.h.

#define SHM_REMAP   FILE_MAP_COPY

Definition at line 91 of file tsrm_win32.h.

#define SHM_RND   FILE_MAP_WRITE

Definition at line 90 of file tsrm_win32.h.

#define SHM_W   PAGE_READWRITE

Definition at line 87 of file tsrm_win32.h.

#define TWG (   v)    (win32_globals.v)

Definition at line 73 of file tsrm_win32.h.


Function Documentation

TSRM_API int pclose ( FILE *  stream)
TSRM_API FILE* popen ( const char *  command,
const char *  type 
)
TSRM_API FILE* popen_ex ( const char *  command,
const char *  type,
const char *  cwd,
char *  env 
)
TSRM_API char* realpath ( char *  orig_path,
char *  buffer 
)

Here is the caller graph for this function:

TSRM_API void* shmat ( int  key,
const void *  shmaddr,
int  flags 
)
TSRM_API int shmctl ( int  key,
int  cmd,
struct shmid_ds buf 
)
TSRM_API int shmdt ( const void *  shmaddr)
TSRM_API int shmget ( int  key,
int  size,
int  flags 
)
TSRM_API int tsrm_win32_access ( const char *  pathname,
int  mode 
)

Here is the caller graph for this function:

char* tsrm_win32_get_path_sid_key ( const char *pathname  TSRMLS_DC)
TSRM_API void tsrm_win32_shutdown ( void  )

Here is the caller graph for this function:

TSRM_API void tsrm_win32_startup ( void  )

Here is the caller graph for this function:

TSRM_API int win32_utime ( const char *  filename,
struct utimbuf *  buf 
)