All Classes Files Functions Variables Pages
Inspectors.idl
Go to the documentation of this file.
1 /**
2  * @file Inspectors.idl
3  * @brief API for protocol inspectors administration
4  * @version 2
5  */
6 
7 module webadmin {
8 
9 /**
10  * Protocol Inspector - instances defined at compilation time, unchangeable
11  */
12 struct Inspector {
13  string name; ///< unique name for the inspector
14  long ipProtocol; ///< IP protocol (only 6 for TCP or 17 for UDP)
15 };
16 
17 typedef sequence<Inspector> InspectorList;
18 
19 interface Inspectors {
20 
21  /**
22  * Returns available Protocol Inspectors
23  * @param list - list of inspectors and it's details
24  * @throws kerio::web::ApiException \n
25  * -32001 Session expired. - "The user is not logged in." \n
26  * 1004 Access denied. - "Insufficient rights to perform the requested operation."
27  */
28  void get(out InspectorList list);
29 
30 };
31 
32 }; //webadmin
long ipProtocol
IP protocol (only 6 for TCP or 17 for UDP)
Definition: Inspectors.idl:14
Definition: Inspectors.idl:12
Definition: Inspectors.idl:19
Definition: Accounting.idl:11
string name
unique name for the inspector
Definition: Inspectors.idl:13