StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
RTS
include
SUNRT
rtsMother.h
1
#ifndef _RTSMOTHER_H_
2
#define _RTSMOTHER_H_
3
4
#include <sys/types.h>
5
#include <time.h>
6
7
struct
SegDef
8
{
9
int
segment;
10
unsigned
int
size;
11
};
12
13
struct
ProcessDef
{
14
pid_t pid;
15
time_t start_time;
16
char
*path;
17
char
*args[10];
18
int
restart_on_reboot;
19
int
restart_on_somebodydead;
20
};
21
22
int
rtsMother(
char
*myLogName,
23
SegDef
segments[],
24
ProcessDef
processes[],
25
char
*out=NULL,
26
char
*err=NULL);
27
28
#endif
ProcessDef
Definition:
rtsMother.h:13
SegDef
Definition:
rtsMother.h:7
Generated by
1.8.5