~ubuntu-branches/ubuntu/jaunty/freeradius/jaunty-updates

« back to all changes in this revision

Viewing changes to src/include/libradius.h

  • Committer: Bazaar Package Importer
  • Author(s): Paul Hampson
  • Date: 2005-10-16 21:26:30 UTC
  • mto: (3.1.2 dapper)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20051016212630-73v9gjr6u0w4q4v1
Tags: upstream-1.0.5
ImportĀ upstreamĀ versionĀ 1.0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 * libradius.h  Structures and prototypes
6
6
 *              for the radius library.
7
7
 *
8
 
 * Version:     $Id: libradius.h,v 1.76 2004/05/28 07:20:15 phampson Exp $
 
8
 * Version:     $Id: libradius.h,v 1.76.2.2 2005/09/01 15:55:13 nbk Exp $
9
9
 *
10
10
 */
11
11
 
291
291
uint32_t        ip_addr(const char *);
292
292
char            *ifid_ntoa(char *buffer, size_t size, uint8_t *ifid);
293
293
uint8_t         *ifid_aton(const char *ifid_str, uint8_t *ifid);
294
 
char            *ipv6_ntoa(char *buffer, size_t size, void *ip6addr);
 
294
const char      *ipv6_ntoa(char *buffer, size_t size, void *ip6addr);
295
295
int             ipv6_addr(const char *ip6_str, void *ip6addr);
296
296
char            *strNcpy(char *dest, const char *src, int n);
297
297
void            rad_lowercase(char *str);
306
306
void            print_abinary(VALUE_PAIR *vp, u_char *buffer, int len);
307
307
#endif /*ASCEND_BINARY*/
308
308
 
309
 
#ifdef HAVE_LOCAL_SNPRINTF
 
309
/* snprintf.c */
 
310
#ifndef HAVE_VSNPRINTF
310
311
#include <stdarg.h>
 
312
int vsnprintf(char *str, size_t count, const char *fmt, va_list arg);
 
313
#endif
 
314
#ifndef HAVE_SNPRINTF
311
315
int snprintf(char *str, size_t count, const char *fmt, ...);
312
 
int vsnprintf(char *str, size_t count, const char *fmt, va_list arg);
313
316
#endif
314
317
 
315
318
/* random numbers in isaac.c */