The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Provide missing types for fopencookie on systems that don't support it. More...
#include <stdio.h>
Go to the source code of this file.
Data Structures | |
struct | cookie_io_functions_t |
Macros | |
#define | HAVE_FOPENCOOKIE 1 |
Typedefs | |
typedef int(* | cookie_close_function_t) (void *cookie) |
typedef ssize_t(* | cookie_read_function_t) (void *cookie, char *buf, size_t size) |
typedef int(* | cookie_seek_function_t) (void *cookie, off64_t *offset, int whence) |
typedef ssize_t(* | cookie_write_function_t) (void *cookie, const char *buf, size_t size) |
Functions | |
FILE * | fopencookie (void *cookie, const char *mode, cookie_io_functions_t io_funcs) |
Provide missing types for fopencookie on systems that don't support it.
You should always include this file when using fopencookie
Definition in file fopencookie.h.
struct cookie_io_functions_t |
Definition at line 51 of file fopencookie.h.
Data Fields | ||
---|---|---|
cookie_close_function_t | close | |
cookie_read_function_t | read | |
cookie_seek_function_t | seek | |
cookie_write_function_t | write |
#define HAVE_FOPENCOOKIE 1 |
Definition at line 36 of file fopencookie.h.
typedef int(* cookie_close_function_t) (void *cookie) |
Definition at line 49 of file fopencookie.h.
Definition at line 43 of file fopencookie.h.
typedef int(* cookie_seek_function_t) (void *cookie, off64_t *offset, int whence) |
Definition at line 47 of file fopencookie.h.
Definition at line 45 of file fopencookie.h.
FILE* fopencookie | ( | void * | cookie, |
const char * | mode, | ||
cookie_io_functions_t | io_funcs | ||
) |
Definition at line 99 of file fopencookie.c.