/[radius]/radius/include/radius.h
ViewVC logotype

Diff of /radius/include/radius.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.54 by gray, Thu Jul 17 16:23:28 2003 UTC revision 1.55 by gray, Sat Jul 19 22:08:58 2003 UTC
# Line 23  Line 23 
23  #include <list.h>  #include <list.h>
24  #include <envar.h>  #include <envar.h>
25    
26    /* Forward declarations */
27    struct obstack;
28    
29  /* Internationalization support */  /* Internationalization support */
30  #include <gettext.h>  #include <gettext.h>
31  #define _(s) gettext(s)  #define _(s) gettext(s)
# Line 231  typedef struct radius_req { Line 234  typedef struct radius_req {
234          u_char                  vector[AUTH_VECTOR_LEN]; /* Rq authenticator */          u_char                  vector[AUTH_VECTOR_LEN]; /* Rq authenticator */
235          u_char                  *secret;      /* Shared secret */          u_char                  *secret;      /* Shared secret */
236          VALUE_PAIR              *request;     /* Request pairs */          VALUE_PAIR              *request;     /* Request pairs */
237            
238          /* Saved reply values */          /* Saved reply values */
239          int                     reply_code;   /* Reply code */          int                     reply_code;   /* Reply code */
240          VALUE_PAIR              *reply_pairs; /* Reply pairs */          VALUE_PAIR              *reply_pairs; /* Reply pairs */
# Line 386  int format_string_visual(char *buf, int Line 389  int format_string_visual(char *buf, int
389  char *op_to_str(int op);  char *op_to_str(int op);
390  int str_to_op(char *str);  int str_to_op(char *str);
391  int xlat_keyword(struct keyword *kw, char *str, int def);  int xlat_keyword(struct keyword *kw, char *str, int def);
392    void obstack_grow_backslash_num(struct obstack *stk, char *text, int len, int base);
393    void obstack_grow_backslash(struct obstack *stk, char *text, char **endp);
394    
395    
396  /* cryptpass.c */  /* cryptpass.c */
397  void encrypt_password(VALUE_PAIR *pair, char *password,  void encrypt_password(VALUE_PAIR *pair, char *password,
# Line 407  struct passwd *rad_getpwnam_r(const char Line 413  struct passwd *rad_getpwnam_r(const char
413  struct group *rad_getgrnam(const char *name);  struct group *rad_getgrnam(const char *name);
414    
415  /* client.c */  /* client.c */
416    #define RADCLT_ID            0x1
417    #define RADCLT_AUTHENTICATOR 0x2
418    
419    RADIUS_REQ *rad_clt_send0(RADIUS_SERVER_QUEUE *config, int port_type, int code,
420                              VALUE_PAIR *pairlist, int flags, int *authid,
421                              u_char *authvec);
422  RADIUS_REQ *rad_clt_send(RADIUS_SERVER_QUEUE *config, int port_type, int code,  RADIUS_REQ *rad_clt_send(RADIUS_SERVER_QUEUE *config, int port_type, int code,
423                           VALUE_PAIR *pairlist);                           VALUE_PAIR *pairlist);
424  unsigned rad_clt_message_id(RADIUS_SERVER *server);  unsigned rad_clt_message_id(RADIUS_SERVER *server);

Legend:
Removed from v.1.54  
changed lines
  Added in v.1.55

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26