summaryrefslogtreecommitdiff
path: root/src/char/char.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/char/char.h')
-rw-r--r--src/char/char.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/char/char.h b/src/char/char.h
index ef06571..cc64024 100644
--- a/src/char/char.h
+++ b/src/char/char.h
@@ -10,21 +10,22 @@
#define DEFAULT_AUTOSAVE_INTERVAL 300*1000
-struct mmo_map_server{
- long ip;
- short port;
- int users;
- char map[MAX_MAP_PER_SERVER][16];
+struct mmo_map_server
+{
+ long ip;
+ short port;
+ int users;
+ char map[MAX_MAP_PER_SERVER][16];
};
-int search_character_index(char* character_name);
-char * search_character_name(int index);
+int search_character_index (char *character_name);
+char *search_character_name (int index);
-int mapif_sendall(char *buf, unsigned int len);
-int mapif_sendallwos(int fd,unsigned char *buf, unsigned int len);
-int mapif_send(int fd,unsigned char *buf, unsigned int len);
+int mapif_sendall (char *buf, unsigned int len);
+int mapif_sendallwos (int fd, unsigned char *buf, unsigned int len);
+int mapif_send (int fd, unsigned char *buf, unsigned int len);
-int char_log(char *fmt, ...);
+int char_log (char *fmt, ...);
extern int autosave_interval;