summary refs log tree commit diff stats
path: root/src/fe-gtk/menu.h
blob: 7fef79cddef68aa4dc228a443185a889c1c97e0a (plain) (blame)
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
fb98a0b785494f680d3776c4bfc4052f9e'>4a6ceffb ^
1
2
3
4
5
6
7
8
9
10









                      
                                                                          
                       
                       

                      
                                                                            



                                         
#ifndef XCHAT_URL_H
#define XCHAT_URL_H

extern void *url_tree;

#define WORD_URL     1
#define WORD_NICK    2
#define WORD_CHANNEL 3
#define WORD_HOST    4
#define WORD_EMAIL   5
/* anything >0 will be displayed as a link by gtk_xtext_motion_notify() */
#define WORD_DIALOG  -1
#define WORD_PATH    -2

void url_clear (void);
void url_save_tree (const char *fname, const char *mode, gboolean fullpath);
int url_check_word (char *word, int len);
void url_check_line (char *buf, int len);

#endif