Crossfire Server, Trunk
win32.h File Reference
#include <windows.h>
#include <dirent.h>
#include <time.h>
#include <direct.h>
#include <sys/stat.h>
+ Include dependency graph for win32.h:

Go to the source code of this file.

Macros

#define NAMLEN(dirent)   strlen((dirent)->d_name)
 
#define S_IRGRP   0000040
 
#define S_IROTH   0000400
 
#define S_IRUSR   0000004
 
#define S_ISGID   0002000
 
#define S_IWGRP   0000020
 
#define S_IWOTH   0000200
 
#define S_IWUSR   0000002
 
#define socklen_t   int /* Doesn't exist, just a plain int */
 
#define UNICODE
 
#define WIN32
 
#define WIN32_LEAN_AND_MEAN
 

Functions

int closedir (DIR *)
 
DIR * opendir (const char *)
 
struct direntreaddir (DIR *)
 
void rewinddir (DIR *)
 
void service_handle ()
 
void service_register ()
 
void service_unregister ()
 
int strcasecmp (const char *s1, const char *s2)
 
const char * strcasestr (const char *s, const char *find)
 

Variables

int bRunning
 

Macro Definition Documentation

◆ NAMLEN

#define NAMLEN (   dirent)    strlen((dirent)->d_name)

Definition at line 24 of file win32.h.

◆ S_IRGRP

#define S_IRGRP   0000040

Definition at line 53 of file win32.h.

◆ S_IROTH

#define S_IROTH   0000400

Definition at line 50 of file win32.h.

◆ S_IRUSR

#define S_IRUSR   0000004

Definition at line 56 of file win32.h.

◆ S_ISGID

#define S_ISGID   0002000

Definition at line 38 of file win32.h.

◆ S_IWGRP

#define S_IWGRP   0000020

Definition at line 44 of file win32.h.

◆ S_IWOTH

#define S_IWOTH   0000200

Definition at line 41 of file win32.h.

◆ S_IWUSR

#define S_IWUSR   0000002

Definition at line 47 of file win32.h.

◆ socklen_t

#define socklen_t   int /* Doesn't exist, just a plain int */

Definition at line 17 of file win32.h.

◆ UNICODE

#define UNICODE

Definition at line 5 of file win32.h.

◆ WIN32

#define WIN32

Definition at line 21 of file win32.h.

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN

Definition at line 8 of file win32.h.

Function Documentation

◆ closedir()

int closedir ( DIR *  )

Referenced by AssetCollector::collect(), command_players(), find_maps(), help_topics(), i18n_init(), initPlugins(), load_dir(), and remove_directory().

+ Here is the caller graph for this function:

◆ opendir()

DIR* opendir ( const char *  )

Referenced by AssetCollector::collect(), command_players(), find_maps(), help_topics(), i18n_init(), initPlugins(), load_dir(), and remove_directory().

+ Here is the caller graph for this function:

◆ readdir()

struct dirent* readdir ( DIR *  )

Referenced by AssetCollector::collect(), command_players(), find_maps(), help_topics(), i18n_init(), initPlugins(), load_dir(), and remove_directory().

+ Here is the caller graph for this function:

◆ rewinddir()

void rewinddir ( DIR *  )

◆ service_handle()

void service_handle ( )

◆ service_register()

void service_register ( )

◆ service_unregister()

void service_unregister ( )

◆ strcasecmp()

◆ strcasestr()

const char* strcasestr ( const char *  s,
const char *  find 
)

Variable Documentation

◆ bRunning

int bRunning

Referenced by server_main().