]> asedeno.scripts.mit.edu Git - 1ts-debian.git/blob - zephyr/clients/xzwrite/xzwrite-proto.h
Initial revision
[1ts-debian.git] / zephyr / clients / xzwrite / xzwrite-proto.h
1 #ifndef __P
2 #ifdef __STDC__
3 # define        __P(s) s
4 #else
5 # define __P(s) ()
6 #endif
7 #endif
8
9
10 /* interface.c */
11 void go __P((void ));
12 void build_interface __P((int *argc , char **argv ));
13
14 /* resource.c */
15
16 /* destlist.c */
17 void dest_print __P((void ));
18 char **dest_text __P((void ));
19 int dest_num __P((void ));
20 void dest_set_current_dest __P((Dest dest ));
21 void dest_init __P((void ));
22 char **load_default_dest __P((void ));
23 char **dest_add __P((Dest dest ));
24 char **dest_add_string __P((char *s ));
25 char **dest_delete_string __P((char *s ));
26 char **delete_dest_index __P((int i ));
27 char **sort_destinations __P((void ));
28 int parse_into_dest __P((Dest dest , char *s ));
29 void dest_add_reply __P((ZNotice_t *notice ));
30
31 /* util.c */
32 void Warning __P((const char *first, ...));
33 void Error __P((const char *first, ...));
34 char *Malloc __P((int n, ...));
35 char *get_username __P((void ));
36
37 /* bfgets.c */
38 char *bfgets __P((char *s , int n , FILE *iop ));
39
40 /* gethomedir.c */
41 char *get_home_dir __P((void ));
42
43 /* dest_window.c */
44 void dest_add_reply __P((ZNotice_t *notice ));
45 void display_dest __P((void ));
46 void delete_dest __P((void ));
47 void create_dest __P((void ));
48 void select_dest __P((void ));
49
50 /* xzwrite.c */
51 int main __P((int argc , char **argv ));
52 void usage __P((void ));
53
54 /* edit_window.c */
55 void edit_win_init __P((void ));
56 void send_message __P((void ));
57 void edit_set_title __P((Dest dest ));
58 void edit_clear __P((void ));
59 void edit_yank_prev __P((void ));
60 void edit_yank_next __P((void ));
61 void edit_yank_store __P((void ));
62
63 /* zephyr.c */
64 void zeph_dispatch __P((XtPointer client_data , int *source , XtInputId *input_id ));
65 void zeph_init __P((void ));
66 int zeph_locateable __P((char *user ));
67 void zeph_subto_logins __P((char **users , int num ));
68 void zeph_subto_replies __P((void ));
69 int zeph_send_message __P((Dest dest , char *msg ));
70 int zeph_ping __P((Dest dest ));
71 int zeph_pong __P((Dest dest ));
72 char *zeph_get_signature __P((void ));
73 void log_message __P((Dest dest , char *msg ));
74
75 /* GetString.c */
76 Widget InitGetString __P((Widget parent , char *name ));
77 int GetString __P((Widget getStringWindow , String label , String value , int pop_type , char *buf , int len ));
78
79 /* Popup.c */
80 void Popup __P((Widget shell , XtGrabKind GrabType , int pop_type ));
81 void PopupSafe __P((Widget w , Dimension x , Dimension y , XtGrabKind GrabType ));
82 void PopupAtPointer __P((Widget w , XtGrabKind GrabType ));
83
84 /* yank.c */
85 void yank_init __P((void ));
86 Yank yank_prev __P((void ));
87 Yank yank_next __P((void ));
88 void yank_store __P((Dest dest , char *msg ));
89
90 /* menu_window.c */
91 void menu_toggle __P((Widget w ));
92 void menu_match_defs __P((void ));
93 void menu_signature __P((void ));
94
95 /* logins.c */
96 void logins_deal __P((ZNotice_t *notice ));
97 void logins_subscribe __P((void ));
98 Boolean login_scan_work __P((caddr_t client_data ));
99
100 /* xzwrite.h */
101
102 /* GetString.h */
103
104 #undef P