mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-22 17:49:13 +00:00
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>
13 lines
336 B
C
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__ */
|