mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 09:05:10 +00:00
Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
26 lines
448 B
C
26 lines
448 B
C
#ifndef __CR_PROC_POSIX_TIMER_H__
|
|
#define __CR_PROC_POSIX_TIMER_H__
|
|
|
|
#include "list.h"
|
|
|
|
struct str_posix_timer {
|
|
long it_id;
|
|
int clock_id;
|
|
int si_signo;
|
|
int it_sigev_notify;
|
|
void * sival_ptr;
|
|
};
|
|
|
|
struct proc_posix_timer {
|
|
struct list_head list;
|
|
struct str_posix_timer spt;
|
|
};
|
|
|
|
struct proc_posix_timers_stat {
|
|
int timer_n;
|
|
struct list_head timers;
|
|
};
|
|
|
|
extern int parse_posix_timers(pid_t pid, struct proc_posix_timers_stat * args);
|
|
|
|
#endif
|