Piccole correzioni
[gapil.git] / sources / Gapil.h
index e82e825fa22ce7b815ac8c99facefa24eade3149..dc421f44e1c91f2333305d7712c4fc8e004dcff9 100644 (file)
@@ -110,8 +110,8 @@ size_t full_fwrite(FILE *file, void *buf, size_t count);
 /*
  * File miscellaneous
  */
-/* Function DirScan: simple scan for a directory. See DirScan.c */
-int DirScan(char * dirname, int(*compute)(struct dirent *));
+/* Function dir_scan: simple scan for a directory. See dir_scan.c */
+int dir_scan(char * dirname, int(*compute)(struct dirent *));
 /*
  * Shared memory handling functions. See SharedMem.c
  */
@@ -132,9 +132,10 @@ int RemoveShm(char * shm_name);
  */
 int sockconn(char *host, char *serv, int prot, int type);
 int sockbind(char *host, char *serv, int prot, int type);
-int sockbind2(char *host, char *serv, int prot, int type);
+int sockbindopt(char *host, char *serv, int prot, int type, int reuse);
 
 /*
  * General purpose functions. See corresponding .c
  */
 int endian(void);
+int is_closing(int sock);