Completata la parte su getaddinfo con delle funzioni di ausilio per chiamare
[gapil.git] / sources / Gapil.h
index c6cbfea4d91b4294968e2f9a143cbc8caa816f05..5647368ece3f3c9ebc971e04da25e6c51627863b 100644 (file)
@@ -122,6 +122,12 @@ void * CreateShm(char * shm_name, off_t shm_size, int perm, int fill);
 void * FindShm(char * shm_name, off_t shm_size);
 /* Function RemoveShm: remove a POSIX shared memory */
 int RemoveShm(char * shm_name);
+/*
+ * Socket creation functions. See corresponding .c
+ */
+int sockconn(char *host, char *serv, int prot, int type);
+int sockbind(char *host, char *serv, int prot, int type);
+
 /*
  * General purpose functions. See corresponding .c
  */