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

Comparing ircd-hybrid-8/include/client.h (file contents):
Revision 1312 by michael, Mon Mar 26 16:07:20 2012 UTC vs.
Revision 1328 by michael, Sat Mar 31 17:43:32 2012 UTC

# Line 50 | Line 50 | struct Client;
50   struct LocalUser;
51  
52  
53 +
54 + /*! \brief addr_mask_type enumeration */
55 + enum addr_mask_type
56 + {
57 +  HIDE_IP, /**< IP is hidden. Resolved hostname is shown instead */
58 +  SHOW_IP, /**< IP is shown. No parts of it are hidden or masked */
59 +  MASK_IP  /**< IP is masked. 255.255.255.255 is shown instead */
60 + };
61 +
62   /*! \brief Server structure */
63   struct Server
64   {
# Line 455 | Line 464 | struct LocalUser
464   #define ClearCaptured(x)        ((x)->handler = CLIENT_HANDLER)
465  
466  
458 /*
459 * definitions for get_client_name
460 * TBD - make this an enum
461 */
462 #define HIDE_IP 0
463 #define SHOW_IP 1
464 #define MASK_IP 2
465
467   extern struct Client me;
468   extern dlink_list listing_client_list;
469   extern dlink_list global_client_list;
# Line 482 | Line 483 | extern void free_exited_clients(void);
483   extern struct Client *make_client(struct Client *);
484   extern struct Client *find_chasing(struct Client *, struct Client *, const char *, int *);
485   extern struct Client *find_person(const struct Client *const, const char *);
486 < extern const char *get_client_name(const struct Client *, int);
486 > extern const char *get_client_name(const struct Client *, enum addr_mask_type);
487  
488   #endif /* INCLUDED_client_h */

Diff Legend

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