diff options
Diffstat (limited to 'sesman/tools')
-rw-r--r-- | sesman/tools/sesrun.c | 2 | ||||
-rw-r--r-- | sesman/tools/tcp.c | 6 | ||||
-rw-r--r-- | sesman/tools/tcp.h | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/sesman/tools/sesrun.c b/sesman/tools/sesrun.c index 11a807f1..b9bca988 100644 --- a/sesman/tools/sesrun.c +++ b/sesman/tools/sesrun.c @@ -34,7 +34,7 @@ struct config_sesman g_cfg; /* config.h */ /******************************************************************************/ -int DEFAULT_CC +int main(int argc, char **argv) { int sck; diff --git a/sesman/tools/tcp.c b/sesman/tools/tcp.c index dbb5e178..e6fe7888 100644 --- a/sesman/tools/tcp.c +++ b/sesman/tools/tcp.c @@ -37,7 +37,7 @@ #include <string.h> /*****************************************************************************/ -int DEFAULT_CC +int tcp_force_recv(int sck, char *data, int len) { int rcvd; @@ -87,7 +87,7 @@ tcp_force_recv(int sck, char *data, int len) } /*****************************************************************************/ -int DEFAULT_CC +int tcp_force_send(int sck, char *data, int len) { int sent; @@ -137,7 +137,7 @@ tcp_force_send(int sck, char *data, int len) } /*****************************************************************************/ -int DEFAULT_CC +int tcp_bind(int sck, char *addr, char *port) { struct sockaddr_in s; diff --git a/sesman/tools/tcp.h b/sesman/tools/tcp.h index 6697c662..e436ccd4 100644 --- a/sesman/tools/tcp.h +++ b/sesman/tools/tcp.h @@ -36,7 +36,7 @@ * @return 0 on success, 1 on error * */ -int DEFAULT_CC +int tcp_force_recv(int sck, char* data, int len); /** @@ -48,7 +48,7 @@ tcp_force_recv(int sck, char* data, int len); * @return 0 on success, 1 on error * */ -int DEFAULT_CC +int tcp_force_send(int sck, char* data, int len); /** @@ -60,7 +60,7 @@ tcp_force_send(int sck, char* data, int len); * @return 0 on success, -1 on error * */ -int DEFAULT_CC +int tcp_bind(int sck, char* addr, char* port); #endif |