File: tcl_script.h

package info (click to toggle)
bezerk 0.3.2-3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 920 kB
  • ctags: 1,027
  • sloc: ansic: 12,291; sh: 1,822; makefile: 92; tcl: 56
file content (37 lines) | stat: -rw-r--r-- 556 bytes parent folder | download | duplicates (2)
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
#ifndef __BTCL_H__
#define __BTCL_H__

#include <tcl.h>
#include <glib.h>

#define LINE_LENGTH 600

char cl[LINE_LENGTH];  /* command line  */ 
extern GSList *connections;

BezChannelWindow *tclglobalwindow;

enum HOOKNUMS {
  KICK,
  PRIVMSGME,
  PRIVMSGCHAN,
  NOTICEME,
  NOTICECHAN,
  JOIN,
  PART,
  QUIT,
  NICK,
  TOPIC,
  INVITE,
  KILL,
  MODE,
  CHANMODE,
  LAST_HOOK
}; 
/* this is sort of weak.. these two have to remain linked  */ 

int register_tcl(Tcl_Interp *);
char *quotemeta(char *);
int do_hook (BezWindow *, int , int , ...);

#endif