criu/include/sockets.h
Cyrill Gorcunov 843747de55 net: A few changes in headres to follow c99
Since we're not system library

 - no underscopes in functions name until really needed
   and known to not clash with posix namespace
 - empty line between system headers and own headers
   for readability
 - extern for function prototypes

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
2011-12-27 14:26:13 +04:00

13 lines
336 B
C

#ifndef CR_SOCKETS_H__
#define CR_SOCKETS_H__
#include <stdbool.h>
struct cr_fdset;
extern int try_dump_socket(char *dir_name, char *fd_name, struct cr_fdset *cr_fdset);
extern int collect_sockets(void);
extern int prepare_sockets(int pid);
extern void show_unixsk(char *name, int fd, bool show_header);
#endif /* CR_SOCKETS_H__ */