Astra Linux Directory Client Core API  1.7.0
rpc-definitions.h
См. документацию.
1 
7 #ifndef ALD_RPC_DEFINITIONS
8 #define ALD_RPC_DEFINITIONS
9 
17 #define ALD_RPC_STR_LIMIT 1024*16
19 #define ALD_RPC_MAX_LIMIT 1024*1024
20 #define ALD_RPC_BUFF_LIMIT 1024*16
21 
23 // RPC Command definitions
25 // System commands
27 #define ALD_RPC_CMD_HANDSHAKE "rpc-handshake"
28 #define ALD_RPC_CMD_AUTH "rpc-auth"
29 #define ALD_RPC_CMD_CREDS "rpc-creds"
30 #define ALD_RPC_CMD_SASL_START "rpc-sasl-start"
31 #define ALD_RPC_CMD_SASL_CONTINUE "rpc-sasl-continue"
32 #define ALD_RPC_CMD_STATUS "rpc-status"
33 #define ALD_RPC_CMD_LIST "rpc-list"
34 #define ALD_RPC_CMD_STATISTICS "rpc-statistics"
35 #define ALD_RPC_CMD_EXECUTE "rpc-execute"
36 #define ALD_RPC_CMD_LS "rpc-ls"
37 
38 // Domain commands
39 #define ALD_RPC_CMD_REMOVE_OBJ "rpc-remove-object"
40 #define ALD_RPC_CMD_ADMGRP_MOD "rpc-agroup-mod"
41 #define ALD_RPC_CMD_PRINC_LIST "rpc-princ-list"
42 #define ALD_RPC_CMD_PRINC_GET "rpc-princ-get"
43 #define ALD_RPC_CMD_TRUSTED_SET "rpc-trusted-set"
44 #define ALD_RPC_CMD_DOM_ORG "rpc-domain-org"
45 
46 // Service commands
47 #define ALD_RPC_CMD_SVC_ADD "rpc-service-add"
48 #define ALD_RPC_CMD_SVCGRP_MOD "rpc-sgroup-mod"
49 
50 // Policy commands
51 #define ALD_RPC_CMD_POLICY_SET "rpc-policy-set"
52 #define ALD_RPC_CMD_POLICY_GET "rpc-policy-get"
53 #define ALD_RPC_CMD_POLICY_LIST "rpc-policy-list"
54 
55 // Host commands
56 #define ALD_RPC_CMD_HOST_SET "rpc-host-set"
57 #define ALD_RPC_CMD_HOST_GET "rpc-host-get"
58 #define ALD_RPC_CMD_HOST_RENEW "rpc-host-renew"
59 #define ALD_RPC_CMD_HSTGRP_SET "rpc-hgroup-set"
60 #define ALD_RPC_CMD_HSTGRP_MOD "rpc-hgroup-mod"
61 
62 // User commands
63 #define ALD_RPC_CMD_GROUP_SET "rpc-group-set"
64 #define ALD_RPC_CMD_GROUP_MOD "rpc-group-mod"
65 #define ALD_RPC_CMD_USER_HOSTS "rpc-user-hosts"
66 #define ALD_RPC_CMD_USER_SET "rpc-user-set"
67 #define ALD_RPC_CMD_USER_ATTR "rpc-user-attr"
68 
69 // Logging commands
70 #define ALD_RPC_CMD_LOG_SET "rpc-log-set"
71 #define ALD_RPC_CMD_LOGTPL_CTL "rpc-logtpl-ctl"
72 
73 // Task commands
74 #define ALD_RPC_CMD_TASK_ADD "rpc-task-add"
75 #define ALD_RPC_CMD_TASK_MOD "rpc-task-mod"
76 #define ALD_RPC_CMD_TASKHIST_SET "rpc-taskhist-set"
77 
78 // Document commands
79 #define ALD_RPC_CMD_DOC_SET "rpc-doc-set"
80 #define ALD_RPC_CMD_DOC_GET "rpc-doc-get"
81 #define ALD_RPC_CMD_DOC_PUT "rpc-doc-put"
82 
83 // LPC Command definitions
84 #define ALD_LPC_CMD_SPWD "lpc-user-spwd"
85 #define ALD_LPC_CMD_GET_COUNTER "lpc-get-counter"
86 #define ALD_LPC_CMD_SET_COUNTER "lpc-set-counter"
87 #define ALD_LPC_CMD_INC_COUNTER "lpc-inc-counter"
88 
89 // Broadcast definitions
90 #define ALD_BRC_MSG_DOTASKS "bc-do-tasks"
91 #define ALD_BRC_MSG_CHECKDC "bc-check-dc"
92 #define ALD_BRC_MSG_DCCHANGED "bc-dc-changed"
93 #define ALD_BRC_MSG_GETSTATUS "bc-get-status"
94 #define ALD_BRC_MSG_RECONFIGURE "bc-reconfigure"
95 #define ALD_BRC_MSG_INVALIDATE "bc-invalidate"
96 
99 
100 #endif // ALD_RPC_DEFINITIONS