Obsolete
/
libipc-old
Archived
3
0
Fork 0
This repository has been archived on 2024-06-18. You can view files and clone it, but cannot push or open issues/pull-requests.
libipc-old/core/process.h

34 lines
596 B
C
Raw Normal View History

2016-06-05 03:19:36 +02:00
#ifndef __PROCESS_H__
#define __PROCESS_H__
2016-12-19 01:08:55 +01:00
#if 0
// TODO
// tout revoir
2016-06-05 03:19:36 +02:00
#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
struct process {
unsigned int version;
unsigned int index;
2016-10-27 16:26:16 +02:00
int proc_fd;
2016-06-05 03:19:36 +02:00
};
struct process * srv_process_copy (const struct process *p);
int srv_process_eq (const struct process *p1, const struct process *p2);
// create the service process structure
void srv_process_gen (struct process *p
, unsigned int index, unsigned int version);
2016-06-05 03:19:36 +02:00
2016-06-07 13:49:23 +02:00
void srv_process_print (struct process *);
2016-06-05 03:19:36 +02:00
#endif
2016-12-19 01:08:55 +01:00
#endif