patch-pppd_plugins_radius_radiusclient_h 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. --- ppp-2.4.6.orig/pppd/plugins/radius/radiusclient.h 2014-01-02 05:42:08.000000000 +0100
  2. +++ ppp-2.4.6/pppd/plugins/radius/radiusclient.h 2014-06-05 20:42:29.000000000 +0200
  3. @@ -386,74 +386,74 @@ typedef struct env
  4. /* avpair.c */
  5. -VALUE_PAIR *rc_avpair_add __P((VALUE_PAIR **, int, void *, int, int));
  6. -int rc_avpair_assign __P((VALUE_PAIR *, void *, int));
  7. -VALUE_PAIR *rc_avpair_new __P((int, void *, int, int));
  8. -VALUE_PAIR *rc_avpair_gen __P((AUTH_HDR *));
  9. -VALUE_PAIR *rc_avpair_get __P((VALUE_PAIR *, UINT4));
  10. -VALUE_PAIR *rc_avpair_copy __P((VALUE_PAIR *));
  11. -void rc_avpair_insert __P((VALUE_PAIR **, VALUE_PAIR *, VALUE_PAIR *));
  12. -void rc_avpair_free __P((VALUE_PAIR *));
  13. -int rc_avpair_parse __P((char *, VALUE_PAIR **));
  14. -int rc_avpair_tostr __P((VALUE_PAIR *, char *, int, char *, int));
  15. -VALUE_PAIR *rc_avpair_readin __P((FILE *));
  16. +VALUE_PAIR *rc_avpair_add (VALUE_PAIR **, int, void *, int, int);
  17. +int rc_avpair_assign (VALUE_PAIR *, void *, int);
  18. +VALUE_PAIR *rc_avpair_new (int, void *, int, int);
  19. +VALUE_PAIR *rc_avpair_gen (AUTH_HDR *);
  20. +VALUE_PAIR *rc_avpair_get (VALUE_PAIR *, UINT4);
  21. +VALUE_PAIR *rc_avpair_copy (VALUE_PAIR *);
  22. +void rc_avpair_insert (VALUE_PAIR **, VALUE_PAIR *, VALUE_PAIR *);
  23. +void rc_avpair_free (VALUE_PAIR *);
  24. +int rc_avpair_parse (char *, VALUE_PAIR **);
  25. +int rc_avpair_tostr (VALUE_PAIR *, char *, int, char *, int);
  26. +VALUE_PAIR *rc_avpair_readin (FILE *);
  27. /* buildreq.c */
  28. -void rc_buildreq __P((SEND_DATA *, int, char *, unsigned short, int, int));
  29. -unsigned char rc_get_seqnbr __P((void));
  30. -int rc_auth __P((UINT4, VALUE_PAIR *, VALUE_PAIR **, char *, REQUEST_INFO *));
  31. -int rc_auth_using_server __P((SERVER *, UINT4, VALUE_PAIR *, VALUE_PAIR **,
  32. - char *, REQUEST_INFO *));
  33. -int rc_auth_proxy __P((VALUE_PAIR *, VALUE_PAIR **, char *));
  34. -int rc_acct __P((UINT4, VALUE_PAIR *));
  35. -int rc_acct_using_server __P((SERVER *, UINT4, VALUE_PAIR *));
  36. -int rc_acct_proxy __P((VALUE_PAIR *));
  37. -int rc_check __P((char *, unsigned short, char *));
  38. +void rc_buildreq (SEND_DATA *, int, char *, unsigned short, int, int);
  39. +unsigned char rc_get_seqnbr (void);
  40. +int rc_auth (UINT4, VALUE_PAIR *, VALUE_PAIR **, char *, REQUEST_INFO *);
  41. +int rc_auth_using_server (SERVER *, UINT4, VALUE_PAIR *, VALUE_PAIR **,
  42. + char *, REQUEST_INFO *);
  43. +int rc_auth_proxy (VALUE_PAIR *, VALUE_PAIR **, char *);
  44. +int rc_acct (UINT4, VALUE_PAIR *);
  45. +int rc_acct_using_server (SERVER *, UINT4, VALUE_PAIR *);
  46. +int rc_acct_proxy (VALUE_PAIR *);
  47. +int rc_check (char *, unsigned short, char *);
  48. /* clientid.c */
  49. -int rc_read_mapfile __P((char *));
  50. -UINT4 rc_map2id __P((char *));
  51. +int rc_read_mapfile (char *);
  52. +UINT4 rc_map2id (char *);
  53. /* config.c */
  54. -int rc_read_config __P((char *));
  55. -char *rc_conf_str __P((char *));
  56. -int rc_conf_int __P((char *));
  57. -SERVER *rc_conf_srv __P((char *));
  58. -int rc_find_server __P((char *, UINT4 *, char *));
  59. +int rc_read_config (char *);
  60. +char *rc_conf_str (char *);
  61. +int rc_conf_int (char *);
  62. +SERVER *rc_conf_srv (char *);
  63. +int rc_find_server (char *, UINT4 *, char *);
  64. /* dict.c */
  65. -int rc_read_dictionary __P((char *));
  66. -DICT_ATTR *rc_dict_getattr __P((int, int));
  67. -DICT_ATTR *rc_dict_findattr __P((char *));
  68. -DICT_VALUE *rc_dict_findval __P((char *));
  69. -DICT_VALUE * rc_dict_getval __P((UINT4, char *));
  70. -VENDOR_DICT * rc_dict_findvendor __P((char *));
  71. -VENDOR_DICT * rc_dict_getvendor __P((int));
  72. +int rc_read_dictionary (char *);
  73. +DICT_ATTR *rc_dict_getattr (int, int);
  74. +DICT_ATTR *rc_dict_findattr (char *);
  75. +DICT_VALUE *rc_dict_findval (char *);
  76. +DICT_VALUE * rc_dict_getval (UINT4, char *);
  77. +VENDOR_DICT * rc_dict_findvendor (char *);
  78. +VENDOR_DICT * rc_dict_getvendor (int);
  79. /* ip_util.c */
  80. -UINT4 rc_get_ipaddr __P((char *));
  81. -int rc_good_ipaddr __P((char *));
  82. -const char *rc_ip_hostname __P((UINT4));
  83. -UINT4 rc_own_ipaddress __P((void));
  84. +UINT4 rc_get_ipaddr (char *);
  85. +int rc_good_ipaddr (char *);
  86. +const char *rc_ip_hostname (UINT4);
  87. +UINT4 rc_own_ipaddress (void);
  88. /* sendserver.c */
  89. -int rc_send_server __P((SEND_DATA *, char *, REQUEST_INFO *));
  90. +int rc_send_server (SEND_DATA *, char *, REQUEST_INFO *);
  91. /* util.c */
  92. -void rc_str2tm __P((char *, struct tm *));
  93. -char *rc_mksid __P((void));
  94. -void rc_mdelay __P((int));
  95. +void rc_str2tm (char *, struct tm *);
  96. +char *rc_mksid (void);
  97. +void rc_mdelay (int);
  98. /* md5.c */
  99. -void rc_md5_calc __P((unsigned char *, unsigned char *, unsigned int));
  100. +void rc_md5_calc (unsigned char *, unsigned char *, unsigned int);
  101. #endif /* RADIUSCLIENT_H */