Main Page | Modules | Namespace List | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

Portability Routines


Data Structures

struct  apr_os_proc_mutex_t
struct  apr_os_sock_info_t
struct  apr_os_global_mutex_t

Typedefs

typedef int apr_os_file_t
typedef DIR apr_os_dir_t
typedef int apr_os_sock_t
typedef apr_os_proc_mutex_t apr_os_proc_mutex_t
typedef pid_t apr_os_proc_t
typedef timeval apr_os_imp_time_t
typedef tm apr_os_exp_time_t
typedef void * apr_os_dso_handle_t
typedef void * apr_os_shm_t
typedef apr_os_sock_info_t apr_os_sock_info_t
 alias for local OS socket
typedef apr_os_global_mutex_t apr_os_global_mutex_t

Functions

 APR_DECLARE (apr_status_t) apr_os_global_mutex_get(apr_os_global_mutex_t *ospmutex
 APR_DECLARE (const char *) apr_os_default_encoding(apr_pool_t *pool)

Variables

apr_global_mutex_tpmutex
apr_file_tfile
apr_dir_tdir
apr_socket_tsock
apr_time_exp_taprtime
apr_shm_tshm
apr_os_file_tthefile
apr_os_file_t apr_int32_t flags
apr_os_file_t apr_int32_t
apr_pool_t
cont
apr_os_file_t int register_cleanup
apr_os_dir_tthedir
apr_os_sock_tthesock
apr_os_sock_info_tos_sock_info
apr_os_proc_mutex_tospmutex
apr_os_imp_time_t ** ostime
apr_os_shm_tosshm

Typedef Documentation

typedef DIR apr_os_dir_t
 

native dir

Definition at line 143 of file apr_portable.h.

apr_os_dso_handle_t
 

native dso types

Definition at line 166 of file apr_portable.h.

typedef struct tm apr_os_exp_time_t
 

native tm

Definition at line 155 of file apr_portable.h.

typedef int apr_os_file_t
 

native file

Definition at line 142 of file apr_portable.h.

typedef struct apr_os_global_mutex_t apr_os_global_mutex_t
 

Definition at line 209 of file apr_portable.h.

typedef struct timeval apr_os_imp_time_t
 

native timeval

Definition at line 154 of file apr_portable.h.

typedef struct apr_os_proc_mutex_t apr_os_proc_mutex_t
 

native proces mutex

Definition at line 145 of file apr_portable.h.

typedef pid_t apr_os_proc_t
 

native pid

Definition at line 153 of file apr_portable.h.

typedef void* apr_os_shm_t
 

native SHM

Definition at line 168 of file apr_portable.h.

apr_os_sock_info_t
 

alias for local OS socket

Definition at line 191 of file apr_portable.h.

typedef int apr_os_sock_t
 

native dir

Definition at line 144 of file apr_portable.h.


Function Documentation

APR_DECLARE const char *   ) 
 

Deprecated:
See also:
apr_filepath_name_get

Definition at line 128 of file netware/dso.c.

APR_DECLARE apr_status_t   ) 
 

convert the file from apr type to os specific type.

Parameters:
thefile The os specific file we are converting to
file The apr file to convert.
Remarks:
On Unix, it is only possible to get a file descriptor from an apr file type.

Definition at line 24 of file netware/dso.c.


Variable Documentation

apr_time_t * aprtime
 

Definition at line 264 of file apr_portable.h.

Referenced by APR_DECLARE().

apr_os_shm_t apr_pool_t* cont
 

Definition at line 446 of file apr_portable.h.

apr_dir_t* dir
 

Definition at line 232 of file apr_portable.h.

apr_file_t* file
 

Definition at line 224 of file apr_portable.h.

apr_os_file_t apr_int32_t flags
 

Definition at line 340 of file apr_portable.h.

apr_os_sock_info_t* os_sock_info
 

Definition at line 403 of file apr_portable.h.

apr_os_proc_mutex_t* ospmutex
 

Definition at line 413 of file apr_portable.h.

Referenced by AP_DECLARE().

apr_os_shm_t* osshm
 

Definition at line 446 of file apr_portable.h.

apr_os_exp_time_t ** ostime
 

Definition at line 433 of file apr_portable.h.

apr_proc_mutex_t * pmutex
 

Definition at line 248 of file apr_portable.h.

apr_os_file_t int register_cleanup
 

Definition at line 366 of file apr_portable.h.

apr_shm_t* shm
 

Definition at line 272 of file apr_portable.h.

Referenced by main(), and proc_mutex().

apr_socket_t* sock
 

Definition at line 240 of file apr_portable.h.

apr_os_dir_t* thedir
 

Definition at line 377 of file apr_portable.h.

apr_os_file_t* thefile
 

Definition at line 366 of file apr_portable.h.

apr_os_sock_t* thesock
 

Definition at line 389 of file apr_portable.h.

Referenced by pass_request().