criu/include/sk-queue.h
Pavel Emelyanov b18fb09eb9 show: Replace one-line show_foo calls with args array
We have generic do_pb_show() call and tons of show_foo
routines, that just call one with proper args. Compact
the code by putting the args into array and calling
the do_pb_show() in one place.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2013-08-24 04:00:32 +04:00

13 lines
311 B
C

#ifndef __CR_SK_QUEUE_H__
#define __CR_SK_QUEUE_H__
#include "asm/types.h"
#include "list.h"
#include "crtools.h"
#include "image.h"
extern int read_sk_queues(void);
extern int dump_sk_queue(int sock_fd, int sock_id);
extern int restore_sk_queue(int fd, unsigned int peer_id);
#endif /* __CR_SK_QUEUE_H__ */