summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
Diffstat (limited to 'src/char')
-rw-r--r--src/char/char.h3
-rw-r--r--src/char/geoip.h4
-rw-r--r--src/char/int_auction.h3
-rw-r--r--src/char/int_elemental.h3
-rw-r--r--src/char/int_guild.h3
-rw-r--r--src/char/int_homun.h3
-rw-r--r--src/char/int_mail.h3
-rw-r--r--src/char/int_mercenary.h3
-rw-r--r--src/char/int_party.h3
-rw-r--r--src/char/int_pet.h3
-rw-r--r--src/char/int_quest.h3
-rw-r--r--src/char/int_storage.h3
-rw-r--r--src/char/inter.h3
-rw-r--r--src/char/loginif.h4
-rw-r--r--src/char/mapif.h4
-rw-r--r--src/char/pincode.h4
16 files changed, 48 insertions, 4 deletions
diff --git a/src/char/char.h b/src/char/char.h
index 95533d429..3bedbd0ce 100644
--- a/src/char/char.h
+++ b/src/char/char.h
@@ -116,6 +116,9 @@ struct char_auth_node {
unsigned changing_mapservers : 1;
};
+/**
+ * char interface
+ **/
struct char_interface {
int login_fd;
int char_fd;
diff --git a/src/char/geoip.h b/src/char/geoip.h
index 4579554a1..c83d886b5 100644
--- a/src/char/geoip.h
+++ b/src/char/geoip.h
@@ -15,7 +15,9 @@ struct s_geoip {
bool active;
};
-/* geoip interface */
+/**
+ * geoip interface
+ **/
struct geoip_interface {
struct s_geoip *data;
const char* (*getcountry) (uint32 ipnum);
diff --git a/src/char/int_auction.h b/src/char/int_auction.h
index 93c43069d..03efcdc51 100644
--- a/src/char/int_auction.h
+++ b/src/char/int_auction.h
@@ -8,6 +8,9 @@
void inter_auction_defaults(void);
+/**
+ * inter_auction_interface interface
+ **/
struct inter_auction_interface {
DBMap* db; // int auction_id -> struct auction_data*
int (*count) (int char_id, bool buy);
diff --git a/src/char/int_elemental.h b/src/char/int_elemental.h
index d9ad6ec29..995dfbfab 100644
--- a/src/char/int_elemental.h
+++ b/src/char/int_elemental.h
@@ -8,6 +8,9 @@
void inter_elemental_defaults(void);
+/**
+ * inter_elemental_interface interface
+ **/
struct inter_elemental_interface {
void (*sql_init) (void);
void (*sql_final) (void);
diff --git a/src/char/int_guild.h b/src/char/int_guild.h
index 0b43d45e5..c72856709 100644
--- a/src/char/int_guild.h
+++ b/src/char/int_guild.h
@@ -24,6 +24,9 @@ enum {
void inter_guild_defaults(void);
+/**
+ * inter_guild interface
+ **/
struct inter_guild_interface {
DBMap* guild_db; // int guild_id -> struct guild*
DBMap* castle_db;
diff --git a/src/char/int_homun.h b/src/char/int_homun.h
index 13debcebc..69b30b781 100644
--- a/src/char/int_homun.h
+++ b/src/char/int_homun.h
@@ -10,6 +10,9 @@ struct s_homunculus;
void inter_homunculus_defaults(void);
+/**
+ * inter_homunculus interface
+ **/
struct inter_homunculus_interface {
int (*sql_init) (void);
void (*sql_final) (void);
diff --git a/src/char/int_mail.h b/src/char/int_mail.h
index 0a8449748..b69b27079 100644
--- a/src/char/int_mail.h
+++ b/src/char/int_mail.h
@@ -12,6 +12,9 @@ struct mail_message;
void inter_mail_defaults(void);
+/**
+ * inter_mail interface
+ **/
struct inter_mail_interface {
int (*sql_init) (void);
void (*sql_final) (void);
diff --git a/src/char/int_mercenary.h b/src/char/int_mercenary.h
index 1d84a931a..900065cb7 100644
--- a/src/char/int_mercenary.h
+++ b/src/char/int_mercenary.h
@@ -10,6 +10,9 @@ struct mmo_charstatus;
void inter_mercenary_defaults(void);
+/**
+ * inter_mercenary interface
+ **/
struct inter_mercenary_interface {
bool (*owner_fromsql) (int char_id, struct mmo_charstatus *status);
bool (*owner_tosql) (int char_id, struct mmo_charstatus *status);
diff --git a/src/char/int_party.h b/src/char/int_party.h
index 94ca82c82..68fae32a8 100644
--- a/src/char/int_party.h
+++ b/src/char/int_party.h
@@ -25,6 +25,9 @@ struct party_data {
void inter_party_defaults(void);
+/**
+ * inter_party interface
+ **/
struct inter_party_interface {
struct party_data *pt;
DBMap* db; // int party_id -> struct party_data*
diff --git a/src/char/int_pet.h b/src/char/int_pet.h
index 8b3c1f7b4..fcb052f34 100644
--- a/src/char/int_pet.h
+++ b/src/char/int_pet.h
@@ -8,6 +8,9 @@ struct s_pet;
void inter_pet_defaults(void);
+/**
+ * inter_pet interface
+ **/
struct inter_pet_interface {
struct s_pet *pt;
int (*tosql) (int pet_id, struct s_pet* p);
diff --git a/src/char/int_quest.h b/src/char/int_quest.h
index a66c34a75..17740341b 100644
--- a/src/char/int_quest.h
+++ b/src/char/int_quest.h
@@ -6,6 +6,9 @@
void inter_quest_defaults(void);
+/**
+ * inter_quest interface
+ **/
struct inter_quest_interface {
int (*parse_frommap) (int fd);
};
diff --git a/src/char/int_storage.h b/src/char/int_storage.h
index 6da60f4a8..dcf8f07c1 100644
--- a/src/char/int_storage.h
+++ b/src/char/int_storage.h
@@ -9,6 +9,9 @@ struct guild_storage;
void inter_storage_defaults(void);
+/**
+ * inter_storage interface
+ **/
struct inter_storage_interface {
int (*tosql) (int account_id, struct storage_data* p);
int (*fromsql) (int account_id, struct storage_data* p);
diff --git a/src/char/inter.h b/src/char/inter.h
index 9aa0699cc..f15c8b0f7 100644
--- a/src/char/inter.h
+++ b/src/char/inter.h
@@ -17,6 +17,9 @@ extern unsigned int party_share_level;
void inter_defaults(void);
+/**
+ * inter interface
+ **/
struct inter_interface {
Sql* sql_handle;
const char* (*msg_txt) (int msg_number);
diff --git a/src/char/loginif.h b/src/char/loginif.h
index 325e7d75f..374adbcac 100644
--- a/src/char/loginif.h
+++ b/src/char/loginif.h
@@ -7,7 +7,9 @@
#include "char.h"
-/* loginif interface */
+/**
+ * loginif interface
+ **/
struct loginif_interface {
void (*reset) (void);
void (*check_shutdown) (void);
diff --git a/src/char/mapif.h b/src/char/mapif.h
index 385e1054f..6774db5e5 100644
--- a/src/char/mapif.h
+++ b/src/char/mapif.h
@@ -17,7 +17,9 @@ struct quest;
struct mail_message;
struct WisData;
-/* mapif interface */
+/**
+ * mapif interface
+ **/
struct mapif_interface {
void (*ban) (int id, unsigned int flag, int status);
void (*server_init) (int id);
diff --git a/src/char/pincode.h b/src/char/pincode.h
index 1ed05095e..fa43eb9c2 100644
--- a/src/char/pincode.h
+++ b/src/char/pincode.h
@@ -14,7 +14,9 @@
#define PINCODE_UNUSED 7
#define PINCODE_WRONG 8
-/* Pincode Interface */
+/**
+ * pincode interface
+ **/
struct pincode_interface {
/* vars */
int *enabled;