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

misc.c File Reference

#include "apr_private.h"
#include "apr_arch_misc.h"
#include "crtdbg.h"
#include "apr_arch_file_io.h"
#include "assert.h"
#include "apr_lib.h"

Include dependency graph for misc.c:

Go to the source code of this file.

Functions

apr_status_t apr_get_oslevel (apr_oslevel_e *level)
FARPROC apr_load_dll_func (apr_dlltoken_e fnLib, char *fnName, int ordinal)
 APR_DECLARE_NONSTD (HANDLE)

Variables

APR_DECLARE_DATA apr_oslevel_e apr_os_level = APR_WIN_UNK
static const char *const lateDllName [DLL_defined]
static HMODULE lateDllHandle [DLL_defined]


Function Documentation

APR_DECLARE_NONSTD HANDLE   ) 
 

Definition at line 168 of file misc.c.

References NULL.

apr_status_t apr_get_oslevel apr_oslevel_e level  ) 
 

Definition at line 26 of file misc.c.

References APR_EGENERAL, apr_isdigit, apr_isupper, apr_os_level, APR_SUCCESS, APR_WIN_2000, APR_WIN_2000_SP1, APR_WIN_2000_SP2, APR_WIN_95, APR_WIN_95_OSR2, APR_WIN_98, APR_WIN_98_SE, APR_WIN_CE_3, APR_WIN_ME, APR_WIN_NT_3_5, APR_WIN_NT_3_51, APR_WIN_NT_4, APR_WIN_NT_4_SP2, APR_WIN_NT_4_SP3, APR_WIN_NT_4_SP4, APR_WIN_NT_4_SP5, APR_WIN_NT_4_SP6, APR_WIN_UNK, APR_WIN_UNSUP, and APR_WIN_XP.

FARPROC apr_load_dll_func apr_dlltoken_e  fnLib,
char *  fnName,
int  ordinal
 

Definition at line 153 of file misc.c.

References lateDllHandle, lateDllName, and NULL.


Variable Documentation

APR_DECLARE_DATA apr_oslevel_e apr_os_level = APR_WIN_UNK
 

Definition at line 24 of file misc.c.

Referenced by apr_create_nt_pipe(), APR_DECLARE(), apr_get_oslevel(), filepath_root_test(), more_finfo(), read_with_timeout(), and res_name_from_filename().

HMODULE lateDllHandle[DLL_defined] [static]
 

Initial value:

 {
     NULL,       NULL,       NULL,       NULL,     NULL,       NULL       }

Definition at line 150 of file misc.c.

const char* const lateDllName[DLL_defined] [static]
 

Initial value:

 {
    "kernel32", "advapi32", "mswsock",  "ws2_32", "shell32", "ntdll.dll"  }

Definition at line 148 of file misc.c.