diff options
author | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-18 15:23:02 +0200 |
---|---|---|
committer | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-18 15:23:02 +0200 |
commit | 9837632ea985b87eb6aaa7f619a0b859fc6c40f6 (patch) | |
tree | f143461843ba2fdaa8e7499ebf52afda3eb08cd4 /src/include | |
parent | 7b4d3ab22988d021d5f12b81aec746f7e486fa52 (diff) |
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/commands.h | 3 | ||||
-rw-r--r-- | src/include/constmap.h | 4 | ||||
-rw-r--r-- | src/include/datetime.h | 4 | ||||
-rw-r--r-- | src/include/qmail.h | 2 | ||||
-rw-r--r-- | src/include/rcpthosts.h | 4 |
5 files changed, 10 insertions, 7 deletions
diff --git a/src/include/commands.h b/src/include/commands.h index 3fd2cb8..d16a4ea 100644 --- a/src/include/commands.h +++ b/src/include/commands.h @@ -1,5 +1,6 @@ #ifndef COMMANDS_H #define COMMANDS_H +#include "buffer.h" struct commands { char *text; @@ -7,6 +8,6 @@ struct commands { void (*flush)(); } ; -int commands(); +int commands(buffer *,struct commands *); #endif diff --git a/src/include/constmap.h b/src/include/constmap.h index 750702e..30bfde6 100644 --- a/src/include/constmap.h +++ b/src/include/constmap.h @@ -15,7 +15,7 @@ struct constmap { int constmap_init(struct constmap *,char *,int,int); int constmap_init_char(struct constmap *,char *,int,int,char); -void constmap_free(); -char *constmap(); +void constmap_free(struct constmap *); +char *constmap(struct constmap *,char *,int); #endif diff --git a/src/include/datetime.h b/src/include/datetime.h index 68d1618..5f53b36 100644 --- a/src/include/datetime.h +++ b/src/include/datetime.h @@ -14,7 +14,7 @@ struct datetime { typedef long datetime_sec; -void datetime_tai(); -datetime_sec datetime_untai(); +void datetime_tai(struct datetime *,datetime_sec); +datetime_sec datetime_untai(struct datetime *); #endif diff --git a/src/include/qmail.h b/src/include/qmail.h index dd44816..ef68ddb 100644 --- a/src/include/qmail.h +++ b/src/include/qmail.h @@ -7,7 +7,9 @@ #define BUFSIZE_MESS 4096 #define BUFSIZE_LINE 1024 // RFC 5322: 998 chars - why? - SMTP Line #define BUFSIZE_AUTH 512 +#define BUFSIZE_OUT 512 #define BUFSIZE_LOG 256 +#define BUFSIZE_SMALL 128 struct qmail { int flagerr; diff --git a/src/include/rcpthosts.h b/src/include/rcpthosts.h index 0c58797..8ab93a5 100644 --- a/src/include/rcpthosts.h +++ b/src/include/rcpthosts.h @@ -1,7 +1,7 @@ #ifndef RCPTHOSTS_H #define RCPTHOSTS_H -int rcpthosts_init(); -int rcpthosts(); +int rcpthosts_init(void); +int rcpthosts(char *,int); #endif |