-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathnode.h
More file actions
39 lines (30 loc) · 753 Bytes
/
node.h
File metadata and controls
39 lines (30 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef _LPJS_NODE_H_
#define _LPJS_NODE_H_
#ifndef _TIME_H_
#include <time.h>
#endif
#ifndef _STDIO_H_
#include <stdio.h>
#endif
#ifndef _LPJS_NODE_H_
#include "node.h"
#endif
#ifndef _LPJS_JOB_H_
#include "job.h"
#endif
typedef struct node node_t;
#define NODE_MSG_FD_NOT_OPEN -1
#define NODE_STATUS_HEADER_FORMAT "%-20s %-8s %5s %4s %7s %7s %-9s %-9s\n"
#define NODE_STATUS_FORMAT "%-20s %-8s %5u %4u %7zu %7zu %-9s %-9s\n"
#define NODE_SPECS_LEN 1024
typedef enum
{
NODE_RESOURCE_ALLOCATE = 1,
NODE_RESOURCE_RELEASE = -1
} node_resource_t;
#include "node-rvs.h"
#include "node-accessors.h"
#include "node-mutators.h"
#include "node-protos.h"
#include "node-pseudo-protos.h"
#endif // _LPJS_NODE_H_