~ubuntu-branches/debian/lenny/openais/lenny

« back to all changes in this revision

Viewing changes to include/ipc_cfg.h

  • Committer: Bazaar Package Importer
  • Author(s): Fabio M. Di Nitto
  • Date: 2006-09-27 18:57:12 UTC
  • Revision ID: james.westby@ubuntu.com-20060927185712-t9j7e2brplt6l093
Tags: upstream-0.80.1
ImportĀ upstreamĀ versionĀ 0.80.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
#include <netinet/in.h>
38
38
#include "ipc_gen.h"
39
39
#include "saAis.h"
40
 
#include "openaisCfg.h"
 
40
#include "cfg.h"
41
41
 
42
42
enum req_lib_cfg_types {
43
 
        MESSAGE_REQ_CFG_STATETRACKSTART = 0,
44
 
        MESSAGE_REQ_CFG_STATETRACKSTOP = 1,
45
 
        MESSAGE_REQ_CFG_ADMINISTRATIVESTATESET = 2,
46
 
        MESSAGE_REQ_CFG_ADMINISTRATIVESTATEGET = 3,
 
43
        MESSAGE_REQ_CFG_RINGSTATUSGET = 0,
 
44
        MESSAGE_REQ_CFG_RINGREENABLE = 1,
 
45
        MESSAGE_REQ_CFG_STATETRACKSTART = 2,
 
46
        MESSAGE_REQ_CFG_STATETRACKSTOP = 3,
 
47
        MESSAGE_REQ_CFG_ADMINISTRATIVESTATESET = 4,
 
48
        MESSAGE_REQ_CFG_ADMINISTRATIVESTATEGET = 5,
47
49
};
48
50
 
49
51
enum res_lib_cfg_types {
50
 
        MESSAGE_RES_CFG_STATETRACKSTART = 0,
51
 
        MESSAGE_RES_CFG_STATETRACKSTOP = 1,
52
 
        MESSAGE_RES_CFG_ADMINISTRATIVESTATESET = 2,
53
 
        MESSAGE_RES_CFG_ADMINISTRATIVESTATEGET = 3,
 
52
        MESSAGE_RES_CFG_RINGSTATUSGET = 0,
 
53
        MESSAGE_RES_CFG_RINGREENABLE = 1,
 
54
        MESSAGE_RES_CFG_STATETRACKSTART = 2,
 
55
        MESSAGE_RES_CFG_STATETRACKSTOP = 3,
 
56
        MESSAGE_RES_CFG_ADMINISTRATIVESTATESET = 4,
 
57
        MESSAGE_RES_CFG_ADMINISTRATIVESTATEGET = 5,
54
58
};
55
59
 
56
 
struct req_lib_cfg_statetrackstart {
 
60
struct req_lib_cfg_statetrack {
57
61
        mar_req_header_t header;
58
62
        SaUint8T trackFlags;
59
63
        OpenaisCfgStateNotificationT *notificationBufferAddress;
60
64
};
61
65
 
62
 
struct res_lib_cfg_statetrackstart {
 
66
struct res_lib_cfg_statetrack {
63
67
        mar_res_header_t header;
64
68
};
65
69
 
90
94
};
91
95
 
92
96
struct res_lib_cfg_administrativestateget {
93
 
        mar_res_header_t header;
 
97
        mar_res_header_t header __attribute__((aligned(8)));
 
98
};
 
99
 
 
100
struct req_lib_cfg_ringstatusget {
 
101
        mar_req_header_t header __attribute__((aligned(8)));
 
102
};
 
103
 
 
104
struct res_lib_cfg_ringstatusget {
 
105
        mar_res_header_t header __attribute__((aligned(8)));
 
106
        mar_uint32_t interface_count __attribute__((aligned(8)));
 
107
        char interface_name[16][128] __attribute__((aligned(8)));
 
108
        char interface_status[16][512] __attribute__((aligned(8)));
 
109
};
 
110
 
 
111
struct req_lib_cfg_ringreenable {
 
112
        mar_req_header_t header __attribute__((aligned(8)));
 
113
};
 
114
 
 
115
struct res_lib_cfg_ringreenable {
 
116
        mar_res_header_t header __attribute__((aligned(8)));
94
117
};
95
118
 
96
119
typedef enum {