Replaced type from state for restriction
[platform/core/connectivity/stc-manager.git] / interfaces / stcmanager-iface-firewall.xml
1 <node>
2         <interface name="net.stc.firewall">
3                 <method name='Lock'>
4                         <arg type='i' name='error_code' direction='out'/>
5                 </method>
6                 <method name='Unlock'>
7                         <arg type='i' name='error_code' direction='out'/>
8                 </method>
9
10                 <method name='GetLock'>
11                         <arg type='i' name='state' direction='out'/>
12                 </method>
13                 <method name='AddChain'>
14                         <arg type='s' name='chain' direction='in'/>
15                         <arg type='i' name='error_code' direction='out'/>
16                 </method>
17                 <method name='RemoveChain'>
18                         <arg type='s' name='chain' direction='in'/>
19                         <arg type='i' name='error_code' direction='out'/>
20                 </method>
21                 <method name='FlushChain'>
22                         <arg type='s' name='chain' direction='in'/>
23                         <arg type='i' name='error_code' direction='out'/>
24                 </method>
25                 <method name='GetAllChain'>
26                         <arg type='aa{sv}' name='parameters' direction='out'/>
27                 </method>
28                 <method name='SetChain'>
29                         <arg type='s' name='chain' direction='in'/>
30                         <arg type='u' name='target' direction='in'/>
31                         <arg type='i' name='error_code' direction='out'/>
32                 </method>
33                 <method name='UnsetChain'>
34                         <arg type='s' name='chain' direction='in'/>
35                         <arg type='i' name='error_code' direction='out'/>
36                 </method>
37
38                 <method name='AddRule'>
39                         <arg type='a{sv}' name='parameters' direction='in'/>
40                         <arg type='i' name='error_code' direction='out'/>
41                 </method>
42                 <method name='RemoveRule'>
43                         <arg type='a{sv}' name='parameters' direction='in'/>
44                         <arg type='i' name='error_code' direction='out'/>
45                 </method>
46                 <method name='UpdateRule'>
47                         <arg type='a{sv}' name='parameters' direction='in'/>
48                         <arg type='i' name='error_code' direction='out'/>
49                 </method>
50                 <method name='GetAllRule'>
51                         <arg type='aa{sv}' name='parameters' direction='out'/>
52                 </method>
53         </interface>
54 </node>