ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/src/res.c
(Generate patch)

Comparing ircd-hybrid/branches/8.2.x/src/res.c (file contents):
Revision 4421 by michael, Thu Aug 7 16:52:10 2014 UTC vs.
Revision 4422 by michael, Thu Aug 7 16:57:44 2014 UTC

# Line 92 | Line 92 | typedef enum
92  
93   struct reslist
94   {
95 <  dlink_node node;                       /**< Doubly linked list node. */
96 <  int id;                                /**< Request ID (from request header). */
97 <  int sent;                              /**< Number of requests sent */
98 <  request_state state;                   /**< State the resolver machine is in */
99 <  char type;                             /**< Current request type. */
100 <  char retries;                          /**< Retry counter */
101 <  unsigned int sends;                    /**< Number of sends (>1 means resent). */
102 <  char resend;                           /**< Send flag; 0 == don't resend. */
103 <  time_t sentat;                         /**< Timestamp we last sent this request. */
104 <  time_t timeout;                        /**< When this request times out. */
105 <  struct irc_ssaddr addr;                /**< Address for this request. */
106 <  char name[RFC1035_MAX_DOMAIN_LENGTH];  /**< Hostname for this request. */
107 <  size_t namelength;                     /**< Actual hostname length. */
108 <  dns_callback_fnc callback;             /**< Callback function on completion. */
109 <  void *callback_ctx;                    /**< Context pointer for callback. */
95 >  dlink_node node;                           /**< Doubly linked list node. */
96 >  int id;                                    /**< Request ID (from request header). */
97 >  int sent;                                  /**< Number of requests sent */
98 >  request_state state;                       /**< State the resolver machine is in */
99 >  char type;                                 /**< Current request type. */
100 >  char retries;                              /**< Retry counter */
101 >  unsigned int sends;                        /**< Number of sends (>1 means resent). */
102 >  char resend;                               /**< Send flag; 0 == don't resend. */
103 >  time_t sentat;                             /**< Timestamp we last sent this request. */
104 >  time_t timeout;                            /**< When this request times out. */
105 >  struct irc_ssaddr addr;                    /**< Address for this request. */
106 >  char name[RFC1035_MAX_DOMAIN_LENGTH + 1];  /**< Hostname for this request. */
107 >  size_t namelength;                         /**< Actual hostname length. */
108 >  dns_callback_fnc callback;                 /**< Callback function on completion. */
109 >  void *callback_ctx;                        /**< Context pointer for callback. */
110   };
111  
112   static fde_t ResolverFileDescriptor;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines