ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/include/send.h
(Generate patch)

Comparing ircd-hybrid-7.2/include/send.h (file contents):
Revision 885 by michael, Wed Oct 31 18:09:24 2007 UTC vs.
Revision 1015 by michael, Sun Oct 25 00:08:06 2009 UTC

# Line 27 | Line 27
27  
28   #include "fdlist.h"
29  
30 /* For those unfamiliar with GNU format attributes, a is the 1 based
31 * argument number of the format string, and b is the 1 based argument
32 * number of the variadic ... */
33 #if 0 /* __GNUC__ */
34 #define AFP(a,b) __attribute__((format (printf, a, b)))
35 #else
36 #define AFP(a,b)
37 #endif
38
30   /*
31   * struct decls
32   */
# Line 54 | Line 45 | extern void sendq_unblocked(fde_t *, str
45   extern void send_queued_write(struct Client *);
46   extern void send_queued_slink_write(struct Client *);
47   extern void send_queued_all(void);
48 < extern void sendto_one(struct Client *, const char *, ...) AFP(2, 3);
48 > extern void sendto_one(struct Client *, const char *, ...);
49   extern void sendto_channel_butone(struct Client *, struct Client *,
50                                    struct Channel *, const char *,
51 <                                  const char *, ...) AFP(5, 6);
51 >                                  const char *, ...);
52   extern void sendto_common_channels_local(struct Client *, int,
53 <                                         const char *, ...) AFP(3, 4);
53 >                                         const char *, ...);
54   extern void sendto_channel_local(int, int, struct Channel *,
55 <                                 const char *, ...) AFP(4, 5);
55 >                                 const char *, ...);
56   extern void sendto_channel_local_butone(struct Client *, int, struct Channel *,
57 <                                        const char *, ...) AFP(4, 5);
57 >                                        const char *, ...);
58   extern void sendto_channel_remote(struct Client *, struct Client *, int,
59 <                                  int, int, struct Channel *,
60 <                                  const char *, ...) AFP(7, 8);
61 < extern void sendto_server(struct Client *,
62 <                          struct Channel *, unsigned long,
63 <                          unsigned long,
73 <                          const char *, ...) AFP(5, 6);
59 >                                  const unsigned int, const unsigned int,
60 >                                  struct Channel *, const char *, ...);
61 > extern void sendto_server(struct Client *, const struct Channel *,
62 >                          const unsigned int,
63 >                          const unsigned int, const char *, ...);
64   extern void sendto_match_butone(struct Client *, struct Client *,
65 <                                char *, int, const char *, ...) AFP(5, 6);
65 >                                char *, int, const char *, ...);
66   extern void sendto_match_servs(struct Client *, const char *, int,
67 <                               const char *, ...) AFP(4, 5);
67 >                               const char *, ...);
68   extern void sendto_realops_flags(unsigned int, int,
69 <                                 const char *, ...) AFP(3, 4);
69 >                                 const char *, ...);
70   extern void sendto_wallops_flags(unsigned int, struct Client *,
71 <                                 const char *, ...) AFP(3, 4);
72 < extern void ts_warn(const char *, ...) AFP(1, 2);
71 >                                 const char *, ...);
72 > extern void ts_warn(const char *, ...);
73  
74   extern void sendto_anywhere(struct Client *, struct Client *,
75 <                            const char *, ...) AFP(3, 4);
75 >                            const char *, ...);
76   extern void kill_client(struct Client *, struct Client *,
77 <                        const char *, ... ) AFP(3, 4);
77 >                        const char *, ... );
78   extern void kill_client_ll_serv_butone(struct Client *, struct Client *,
79 <                                       const char *, ...) AFP(3, 4);
79 >                                       const char *, ...);
80  
81  
82   #define ALL_MEMBERS  0

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)