Commit 477fdc8d authored by Matteo Quintiliani's avatar Matteo Quintiliani

Declared extern functions nmxptool_print_info_raw_stream() and nmxptool_print_params()


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@1180 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent 24a47511
......@@ -7,7 +7,7 @@
* Istituto Nazionale di Geofisica e Vulcanologia - Italy
* quintiliani@ingv.it
*
* $Id: nmxptool_listen.c,v 1.7 2008-07-22 23:21:25 mtheo Exp $
* $Id: nmxptool_listen.c,v 1.8 2008-11-07 22:44:10 mtheo Exp $
*
*/
......@@ -30,18 +30,21 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/wait.h>
#include <signal.h>
#include <pthread.h>
#include <nmxp.h>
#include <nmxptool_listen.h>
extern void *nmxptool_print_info_raw_stream(void *arg);
extern void *nmxptool_print_params(void *arg);
/* #define MYPORT 3490 // the port users will be connecting to */
#define BACKLOG 3 // how many pending connections queue will hold
/*
#include <sys/wait.h>
void sigchld_handler(int s)
{
while(waitpid(-1, NULL, WNOHANG) > 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment