1 <?xml version="1.0" encoding="UTF-8" ?>
5 <interface name="org.xchat.connection">
6 <method name="Connect">
7 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
8 <arg type="s" name="filename" direction="in"/>
9 <arg type="s" name="name" direction="in"/>
10 <arg type="s" name="desc" direction="in"/>
11 <arg type="s" name="version" direction="in"/>
12 <arg type="s" name="path" direction="out"/>
14 <method name="Disconnect">
15 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
19 <interface name="org.xchat.plugin">
20 <method name="Command">
21 <arg type="s" name="command" direction="in"/>
24 <arg type="s" name="text" direction="in"/>
26 <method name="FindContext">
27 <arg type="s" name="server" direction="in"/>
28 <arg type="s" name="channel" direction="in"/>
29 <arg type="u" name="ret_id" direction="out"/>
31 <method name="GetContext">
32 <arg type="u" name="ret_id" direction="out"/>
34 <method name="SetContext">
35 <arg type="u" name="id" direction="in"/>
36 <arg type="b" name="ret" direction="out"/>
38 <method name="GetInfo">
39 <arg type="s" name="id" direction="in"/>
40 <arg type="s" name="ret_info" direction="out"/>
42 <method name="GetPrefs">
43 <arg type="s" name="name" direction="in"/>
44 <arg type="i" name="ret_type" direction="out"/>
45 <arg type="s" name="ret_str" direction="out"/>
46 <arg type="i" name="ret_int" direction="out"/>
48 <method name="HookCommand">
49 <arg type="s" name="name" direction="in"/>
50 <arg type="i" name="priority" direction="in"/>
51 <arg type="s" name="help_text" direction="in"/>
52 <arg type="i" name="return_value" direction="in"/>
53 <arg type="u" name="ret_id" direction="out"/>
55 <method name="HookServer">
56 <arg type="s" name="name" direction="in"/>
57 <arg type="i" name="priority" direction="in"/>
58 <arg type="i" name="return_value" direction="in"/>
59 <arg type="u" name="ret_id" direction="out"/>
61 <method name="HookPrint">
62 <arg type="s" name="name" direction="in"/>
63 <arg type="i" name="priority" direction="in"/>
64 <arg type="i" name="return_value" direction="in"/>
65 <arg type="u" name="ret_id" direction="out"/>
67 <method name="Unhook">
68 <arg type="u" name="id" direction="in"/>
70 <method name="ListGet">
71 <arg type="s" name="name" direction="in"/>
72 <arg type="u" name="ret_id" direction="out"/>
74 <method name="ListNext">
75 <arg type="u" name="id" direction="in"/>
76 <arg type="b" name="ret" direction="out"/>
78 <method name="ListStr">
79 <arg type="u" name="id" direction="in"/>
80 <arg type="s" name="name" direction="in"/>
81 <arg type="s" name="ret_str" direction="out"/>
83 <method name="ListInt">
84 <arg type="u" name="id" direction="in"/>
85 <arg type="s" name="name" direction="in"/>
86 <arg type="i" name="ret_int" direction="out"/>
88 <method name="ListTime">
89 <arg type="u" name="id" direction="in"/>
90 <arg type="s" name="name" direction="in"/>
91 <arg type="t" name="ret_time" direction="out"/>
93 <method name="ListFields">
94 <arg type="s" name="name" direction="in"/>
95 <arg type="as" name="ret" direction="out"/>
97 <method name="ListFree">
98 <arg type="u" name="id" direction="in"/>
100 <method name="EmitPrint">
101 <arg type="s" name="event_name" direction="in"/>
102 <arg type="as" name="args" direction="in"/>
103 <arg type="b" name="ret" direction="out"/>
105 <method name="Nickcmp">
106 <arg type="s" name="nick1" direction="in"/>
107 <arg type="s" name="nick2" direction="in"/>
108 <arg type="i" name="ret" direction="out"/>
110 <method name="Strip">
111 <arg type="s" name="str" direction="in"/>
112 <arg type="i" name="len" direction="in"/>
113 <arg type="i" name="flag" direction="in"/>
114 <arg type="s" name="ret_str" direction="out"/>
116 <method name="SendModes">
117 <arg type="as" name="targets" direction="in"/>
118 <arg type="i" name="modes_per_line" direction="in"/>
119 <arg type="y" name="sign" direction="in"/>
120 <arg type="y" name="mode" direction="in"/>
123 <signal name="CommandSignal">
124 <arg type="as" name="word"/>
125 <arg type="as" name="word_eol"/>
126 <arg type="u" name="hook_id"/>
127 <arg type="u" name="context_id"/>
129 <signal name="ServerSignal">
130 <arg type="as" name="word"/>
131 <arg type="as" name="word_eol"/>
132 <arg type="u" name="hook_id"/>
133 <arg type="u" name="context_id"/>
135 <signal name="PrintSignal">
136 <arg type="as" name="word"/>
137 <arg type="u" name="hook_id"/>
138 <arg type="u" name="context_id"/>
140 <signal name="UnloadSignal"/>