File: ircg.xml

package info (click to toggle)
phpdoc 20020310-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 35,272 kB
  • ctags: 354
  • sloc: xml: 799,767; php: 1,395; cpp: 500; makefile: 200; sh: 140; awk: 51
file content (704 lines) | stat: -rw-r--r-- 24,283 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
 <reference id="ref.ircg">
  <title>IRC Gateway Functions</title>
  <titleabbrev>IRC Gateway</titleabbrev>
  <partintro>
   <para>
    Internet Relay Chat Gateway ...
   </para>
   <para>
    Based on <ulink url="&url.ircg;">IRCG</ulink>, from Sascha Schumann.
   </para>
  </partintro>

  <refentry id="function.ircg-pconnect">
   <refnamediv>
    <refname>ircg_pconnect</refname>
    <refpurpose>
     Connect to an IRC server
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>resource</type><methodname>ircg_pconnect</methodname>
      <methodparam><type>string</type><parameter>username</parameter></methodparam>
      <methodparam choice="opt"><type>string</type><parameter>server_ip</parameter></methodparam>
      <methodparam choice="opt"><type>int</type><parameter>server_port</parameter></methodparam>
      <methodparam choice="opt"><type>string</type><parameter>msg_format</parameter></methodparam>
      <methodparam choice="opt"><type>array</type><parameter>ctcp_messages</parameter></methodparam>
      <methodparam choice="opt"><type>array</type><parameter>user_settings</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ircg_pconnect</function> will try to establish a
     connection to an IRC server and return a connection resource
     handle for further use.
    </para>
    <para>
     The only mandatory parameter is <parameter>username</parameter>,
     this will set your initial nickname on the
     server. <parameter>server_ip</parameter> and
     <parameter>server_port</parameter> are optional and default to
     <literal>127.0.0.1</literal> and <literal>6667</literal>.
     <note>
      <para>
       For now parameter <parameter>server_ip</parameter> will not do
       any hostname lookups and will only accept IP addresses in
       numerical form.
      </para>
     </note>
    </para>
    <para>
     You can customize the output of IRC messages and events by
     selection a format string set previously created with
     <function>ircg_register_format_messages</function> by specifing
     the sets name in <parameter>msg_format</parameter>.
    </para>
    <para>
     <parameter>ctcp_messages</parameter>
    </para>
    <para>
     <parameter>user_settings</parameter>
    </para>
    <para>
     See also: <function>ircg_disconnect</function>,
     <function>ircg_is_conn_alive</function>,
     <function>ircg_register_format_messages</function>.
    </para>
   </refsect1>
  </refentry>
  <refentry id="function.ircg-fetch-error-msg">
   <refnamediv>
    <refname>ircg_fetch_error_msg</refname>
    <refpurpose>
     Returns the error from previous ircg operation
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>array</type><methodname>ircg_fetch_error_msg</methodname>
      <methodparam><type>resource</type><parameter>connection</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ircg_fetch_error_msg</function> returns the error from
     the last called ircg function.
    </para>
    <note>
     <para>
      Errorcode is stored in first array element, errortext in second.
     </para>
    </note>
    <para>
     <example>
      <title><function>ircg_fetch_error_msg</function> example</title>
      <programlisting role="php">
<![CDATA[
if (!ircg_join ($id, "#php")) {
    $error = ircg_fetch_error_msg($id);
    print ("Can't join channel #php. Errorcode: 
            $error[0] Description: $error[1]");
}
]]>
      </programlisting>
     </example>
    </para> 
   </refsect1>
  </refentry>

  <refentry id="function.ircg-set-current">
   <refnamediv>
    <refname>ircg_set_current</refname>
    <refpurpose>
     Set current connection for output
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>boolean</type><methodname>ircg_set_current</methodname>
      <methodparam><type>resource</type><parameter>connection</parameter></methodparam>
     </methodsynopsis>
    <para>
     Select the current connection for output in this execution
     context. Every output sent from the server connected to by
     <parameter>connection</parameter> will be copied to standard
     output while using default formating or a formar string set
     specified by <function>ircg_register_format_messages</function>
     and selected by <function>ircg_lookup_format_messages</function>.
    </para>
    <para>
     See also: <function>ircg_register_format_messages</function> and
     <function>ircg_lookup_format_messages</function>.
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ircg-join">
   <refnamediv>
    <refname>ircg_join</refname>
    <refpurpose>
     Join a channel on a connected server
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>boolean</type><methodname>ircg_join</methodname>
      <methodparam><type>resource</type><parameter>connection</parameter></methodparam>
      <methodparam><type>string</type><parameter>channel</parameter></methodparam>
     </methodsynopsis>
    <para>
     Join the channel <parameter>channel</parameter> on the server
     connected to by <parameter>connection</parameter>.
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ircg-part">
   <refnamediv>
    <refname>ircg_part</refname>
    <refpurpose>
     Leave a channel on server
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>boolean</type><methodname>ircg_part</methodname>
      <methodparam><type>resource</type><parameter>connection</parameter></methodparam>
      <methodparam><type>string</type><parameter>channel</parameter></methodparam>
     </methodsynopsis>
    <para>
     Leave the channel <parameter>channel</parameter> on the server
     connected to by <parameter>connection</parameter>.
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ircg-msg">
   <refnamediv>
    <refname>ircg_msg</refname>
    <refpurpose>
     Send message to channel or user on server
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>boolean</type><methodname>ircg_msg</methodname>
      <methodparam><type>resource</type><parameter>connection</parameter></methodparam>
      <methodparam><type>string</type><parameter>recipient</parameter></methodparam>
      <methodparam><type>string</type><parameter>message</parameter></methodparam>
      <methodparam choice="opt"><type>boolean</type><parameter>suppress</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ircg_msg</function> will send the message to a channel
     or user on the server connected to by
     <parameter>connection</parameter>. A
     <parameter>recipient</parameter> starting with
     <literal>#</literal> or <literal>&amp;</literal> will send the
     <parameter>message</parameter> to a channel, anything else will
     be interpreted as a username.
    </para>
    <para>
     Setting the optional parameter <parameter>suppress</parameter> to
     a &true; value will suppress output of your message to your own
     <parameter>connection</parameter>.
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ircg-notice">
   <refnamediv>
    <refname>ircg_notice</refname>
    <refpurpose>
     Send a notice to a user on server 
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>boolean</type><methodname>ircg_notice</methodname>
      <methodparam><type>resource</type><parameter>connection</parameter></methodparam>
      <methodparam><type>string</type><parameter/></methodparam>
      <methodparam><type>string</type><parameter>message</parameter></methodparam>
     </methodsynopsis>
    <para>
     This function will send the <parameter>message</parameter> text
     to the user <parameter>nick</parameter> on the server connected
     to by <parameter>connection</parameter>. Query your IRC
     documentation of choice for the exact difference between a MSG
     and a NOTICE.
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ircg-nick">
   <refnamediv>
    <refname>ircg_nick</refname>
    <refpurpose>
     Change nickname on server
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>boolean</type><methodname>ircg_nick</methodname>
      <methodparam><type>resource</type><parameter>connection</parameter></methodparam>
      <methodparam><type>string</type><parameter>nick</parameter></methodparam>
     </methodsynopsis>
    <para>
     Change your nickname on the given
     <parameter>connection</parameter> to the one given in
     <parameter>nick</parameter> if possible.
    </para>
    <para>
     Will return &true; on success and &false; on failure.
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ircg-topic">
   <refnamediv>
    <refname>ircg_topic</refname>
    <refpurpose>
     Set topic for channel on server
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>boolean</type><methodname>ircg_topic</methodname>
      <methodparam><type>resource</type><parameter>connection</parameter></methodparam>
      <methodparam><type>string</type><parameter>channel</parameter></methodparam>
      <methodparam><type>string</type><parameter>new_topic</parameter></methodparam>
     </methodsynopsis>
    <para>
     Change the topic for channel <parameter>channel</parameter> on
     the server connected to by <parameter>connection</parameter> to
     <parameter>new_topic</parameter>.
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ircg-channel-mode">
   <refnamediv>
    <refname>ircg_channel_mode</refname>
    <refpurpose>
     Set channel mode flags for user
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>boolean</type><methodname>ircg_channel_mode</methodname>
      <methodparam><type>resource</type><parameter>connection</parameter></methodparam>
      <methodparam><type>string</type><parameter>channel</parameter></methodparam>
      <methodparam><type>string</type><parameter>mode_spec</parameter></methodparam>
      <methodparam><type>string</type><parameter>nick</parameter></methodparam>
     </methodsynopsis>
    <para>
     Set channel mode flags for <parameter>channel</parameter> on
     server connected to by <parameter>connection</parameter>. Mode flags
     are passed in <parameter>mode_spec</parameter> and are applied to
     the user specified by <parameter>nick</parameter>.
    </para>
    <para>
     Mode flags are set or cleared by specifind a mode character and
     prepending it with a plus or minus character
     respectively. E.g. operator mode is granted by '+o' and revoked
     by '-o' passed as <parameter>mode_spec</parameter>.  
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ircg-html-encode">
   <refnamediv>
    <refname>ircg_html_encode</refname>
    <refpurpose>
     Encodes HTML preserving output
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>boolean</type><methodname>ircg_html_encode</methodname>
      <methodparam><type>string</type><parameter>html_string</parameter></methodparam>
     </methodsynopsis>
    <para>
     Encodes a HTML string <parameter>html_string</parameter> for
     output. This feature could be usable, e.g. if someone wants to
     discuss about an html problem.
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ircg-whois">
   <refnamediv>
    <refname>ircg_whois</refname>
    <refpurpose>
     Query user information for nick on server
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>boolean</type><methodname>ircg_whois</methodname>
      <methodparam><type>resource</type><parameter>connection</parameter></methodparam>
      <methodparam><type>string</type><parameter>nick</parameter></methodparam>
     </methodsynopsis>
    <para>
     Sends a query to the connected server
     <parameter>connection</parameter> to send information for the
     specified user <parameter>nick</parameter>.
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ircg-kick">
   <refnamediv>
    <refname>ircg_kick</refname>
    <refpurpose>
     Kick a user out of a channel on server
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>boolean</type><methodname>ircg_kick</methodname>
      <methodparam><type>resource</type><parameter>connection</parameter></methodparam>
      <methodparam><type>string</type><parameter>channel</parameter></methodparam>
      <methodparam><type>string</type><parameter>nick</parameter></methodparam>
      <methodparam><type>string</type><parameter>reason</parameter></methodparam>
     </methodsynopsis>
    <para>
     Kick user <parameter>nick</parameter> from
     <parameter>channel</parameter> on server connected to by
     <parameter>connection</parameter>. <parameter>reason</parameter>
     should give a short message describing why this action was
     performed.
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ircg-ignore-add">
   <refnamediv>
    <refname>ircg_ignore_add</refname>
    <refpurpose>
     Add a user to your ignore list on a server
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>boolean</type><methodname>ircg_ignore_add</methodname>
      <methodparam><type>resource</type><parameter>connection</parameter></methodparam>
      <methodparam><type>string</type><parameter>nick</parameter></methodparam>
     </methodsynopsis>
    <para>
     This function will add user <parameter>nick</parameter> to your
     ignore list on the server connected to by
     <parameter>connection</parameter>. By doing so you will suppress
     all messages from this user from being send to you.
    </para>
    <para>
     See also: <function>ircg_ignore_del</function>.
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ircg-ignore-del">
   <refnamediv>
    <refname>ircg_ignore_del</refname>
    <refpurpose>
     Remove a user from your ignore list on a server
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>boolean</type><methodname>ircg_ignore_del</methodname>
      <methodparam><type>resource</type><parameter>connection</parameter></methodparam>
      <methodparam><type>string</type><parameter>nick</parameter></methodparam>
     </methodsynopsis>
    <para>
     This function remove user <parameter>nick</parameter> from your
     ignore list on the server connected to by
     <parameter>connection</parameter>.
    </para>
    <para>
     See also: <function>ircg_ignore_add</function>.
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ircg-disconnect">
   <refnamediv>
    <refname>ircg_disconnect</refname>
    <refpurpose>
     Close connection to server
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>boolean</type><methodname>ircg_disconnect</methodname>
      <methodparam><type>resource</type><parameter>connection</parameter></methodparam>
      <methodparam><type>string</type><parameter>reason</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ircg_disconnect</function> will close a
     <parameter>connection</parameter> to a server previously
     established with <function>ircg-pconnect</function>.
    </para>
    <para>
     See also: <function>ircg_pconnect</function>.
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ircg-is-conn-alive">
   <refnamediv>
    <refname>ircg_is_conn_alive</refname>
    <refpurpose>
     Check connection status
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>boolean</type><methodname>ircg_is_conn_alive</methodname>
      <methodparam><type>resource</type><parameter>connection</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>ircg_is_conn_alive</function> returns &true; if
     <parameter>connection</parameter> is still alive and working or
     &false; if the server no longer talks to us.
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ircg-lookup-format-messages">
   <refnamediv>
    <refname>ircg_lookup_format_messages</refname>
    <refpurpose>
     Select a set of format strings for display of IRC messages
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>boolean</type><methodname>ircg_lookup_format_messages</methodname>
      <methodparam><type>string</type><parameter>name</parameter></methodparam>
     </methodsynopsis>
    <para>
     Select the set of format strings to use for display of IRC
     messages and events. Sets may be registered with
     <function>ircg_register_format_messages</function>, a default set
     named <literal>ircg</literal> is always available.
    </para>
    <para>
     See also: <function>ircg_register_format_messages</function>
    </para>
   </refsect1>
  </refentry>

  <refentry id="function.ircg-register-format-messages">
   <refnamediv>
    <refname>ircg_register_format_messages</refname>
    <refpurpose>
     Register a set of format strings for display of IRC messages
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>boolean</type><methodname>ircg_register_format_messages</methodname>
      <methodparam><type>string</type><parameter>name</parameter></methodparam>
      <methodparam><type>array</type><parameter>messages</parameter></methodparam>
     </methodsynopsis>
    <para>
     With <function>ircg_register_format_messages</function> you can
     customize the way your IRC output looks like. You can even
     register different format string sets and switch between them on
     the fly with <function>ircg_lookup_format_messages</function>.
    </para>
    <para>
     <itemizedlist>
      <listitem><simpara>Plain channel message</simpara></listitem>
      <listitem><simpara>Private message received</simpara></listitem>
      <listitem><simpara>Private message sent</simpara></listitem>
      <listitem><simpara>Some user leaves channel</simpara></listitem>
      <listitem><simpara>Some user enters channel</simpara></listitem>
      <listitem>
       <simpara>Some user was kicked from the channel</simpara>
      </listitem>
      <listitem><simpara>Topic has been changed</simpara></listitem>
      <listitem><simpara>Error</simpara></listitem>
      <listitem><simpara>Fatal error</simpara></listitem>
      <listitem><simpara>Join list end(?)</simpara></listitem>
      <listitem><simpara>Self part(?)</simpara></listitem>
      <listitem><simpara>Some user changes his nick</simpara></listitem>
      <listitem>
       <simpara>Some user quits his connection</simpara>
      </listitem>
      <listitem><simpara>Mass join begin</simpara></listitem>
      <listitem><simpara>Mass join element</simpara></listitem>
      <listitem><simpara>Mass join end</simpara></listitem>
      <listitem><simpara>Whois user</simpara></listitem>
      <listitem><simpara>Whois server</simpara></listitem>
      <listitem><simpara>Whois idle</simpara></listitem>
      <listitem><simpara>Whois channel</simpara></listitem>
      <listitem><simpara>Whois end</simpara></listitem>
      <listitem>
       <simpara>Voice status change on user</simpara>
      </listitem>
      <listitem>
       <simpara>Operator status change on user</simpara>
      </listitem>
      <listitem><simpara>Banlist</simpara></listitem>
      <listitem><simpara>Banlist end</simpara></listitem>
     </itemizedlist>
     <itemizedlist>
      <listitem><simpara>%f - from</simpara></listitem>
      <listitem><simpara>%t - to</simpara></listitem>
      <listitem><simpara>%c - channel</simpara></listitem>
      <listitem><simpara>%r - plain message</simpara></listitem>
      <listitem><simpara>%m - encoded message</simpara></listitem>
      <listitem><simpara>%j - js encoded message</simpara></listitem>
     </itemizedlist>
     <itemizedlist>
      <listitem><simpara>1 - mod encode</simpara></listitem>
      <listitem><simpara>2 - nickname decode</simpara></listitem>
     </itemizedlist>
    </para>
    <para>
     See also: <function>ircg_lookup_format_messages</function>.
    </para>
   </refsect1>
  </refentry>

  <refentry id='function.ircg-set-on-die'>
   <refnamediv>
    <refname>ircg_set_on_die</refname>
    <refpurpose>
     Set hostaction to be execute when connection dies */
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>bool</type><methodname>ircg_set_on_die</methodname>
      <methodparam><type>int</type><parameter>connection</parameter></methodparam>
      <methodparam><type>string</type><parameter>host</parameter></methodparam>
      <methodparam><type>int</type><parameter>port</parameter></methodparam>
      <methodparam><type>string</type><parameter>data</parameter></methodparam>
     </methodsynopsis>
    <para>
     &warn.undocumented.func;
    </para>
   </refsect1>
  </refentry>

  <refentry id='function.ircg-set-file'>
   <refnamediv>
    <refname>ircg_set_file</refname>
    <refpurpose>
     Set logfile for connection
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>bool</type><methodname>ircg_set_file</methodname>
      <methodparam><type>int</type><parameter>connection</parameter></methodparam>
      <methodparam><type>string</type><parameter>path</parameter></methodparam>
     </methodsynopsis>
    <para>
     &warn.undocumented.func;
    </para>
   </refsect1>
  </refentry>

  <refentry id='function.ircg-get-username'>
   <refnamediv>
    <refname>ircg_get_username</refname>
    <refpurpose>
     Get username for connection
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>string</type><methodname>ircg_get_username</methodname>
      <methodparam><type>int</type><parameter>connection</parameter></methodparam>
     </methodsynopsis>
    <para>
     &warn.undocumented.func;
    </para>
   </refsect1>
  </refentry>

  <refentry id='function.ircg-nickname-escape'>
   <refnamediv>
    <refname>ircg_nickname_escape</refname>
    <refpurpose>
     Encode special characters in nickname to be IRC-compliant 
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>string</type><methodname>ircg_nickname_escape</methodname>
      <methodparam><type>string</type><parameter>nick</parameter></methodparam>
     </methodsynopsis>
    <para>
     &warn.undocumented.func;
    </para>
   </refsect1>
  </refentry>

  <refentry id='function.ircg-nickname-unescape'>
   <refnamediv>
    <refname>ircg_nickname_escape</refname>
    <refpurpose>
     Decode encoded nickname 
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>string</type><methodname>ircg_nickname_escape</methodname>
      <methodparam><type>string</type><parameter>nick</parameter></methodparam>
     </methodsynopsis>
    <para>
     &warn.undocumented.func;
    </para>
   </refsect1>
  </refentry>

 </reference>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->