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