vlc_fixups.h File Reference

This file is a collection of portability fixes. More...

Include dependency graph for vlc_fixups.h:

Go to the source code of this file.

Data Structures

struct  lldiv_t

Defines

#define LIBVLC_FIXUPS_H   1
#define strlcpy   vlc_strlcpy
#define strtof(a, b)   ((float)strtod (a, b))
#define atof(str)   (strtod ((str), (char **)NULL, 10))
#define strtoll   vlc_strtoll
#define atoll(str)   (strtoll ((str), (char **)NULL, 10))
#define scandir   vlc_scandir
#define alphasort   vlc_alphasort
#define strcasestr   vlc_strcasestr
#define ATTR_ALIGN(align)
#define newlocale(a, b, c)   ((locale_t)0)
#define uselocale(a)   ((locale_t)0)
#define freelocale(a)   (void)0
#define _(str)   vlc_gettext (str)
#define N_(str)   gettext_noop (str)
#define gettext_noop(str)   (str)

Typedefs

typedef void * locale_t

Functions

static char * strdup (const char *str)
static int vasprintf (char **strp, const char *fmt, va_list ap)
static int asprintf (char **strp, const char *fmt,...)
static size_t strnlen (const char *str, size_t max)
static char * strndup (const char *str, size_t max)
static lldiv_t lldiv (long long numer, long long denom)
static getenv (const char *name)
static int strcasecmp (const char *s1, const char *s2)
static int strncasecmp (const char *s1, const char *s2, size_t n)
static struct tm * localtime_r (const time_t *timep, struct tm *result)
static struct tm * gmtime_r (const time_t *timep, struct tm *result)


Detailed Description

This file is a collection of portability fixes.


Define Documentation

#define _ ( str   )     vlc_gettext (str)

#define alphasort   vlc_alphasort

#define atof ( str   )     (strtod ((str), (char **)NULL, 10))

#define atoll ( str   )     (strtoll ((str), (char **)NULL, 10))

#define ATTR_ALIGN ( align   ) 

#define freelocale (  )     (void)0

#define gettext_noop ( str   )     (str)

#define LIBVLC_FIXUPS_H   1

#define N_ ( str   )     gettext_noop (str)

#define newlocale ( a,
b,
 )     ((locale_t)0)

#define scandir   vlc_scandir

#define strcasestr   vlc_strcasestr

#define strlcpy   vlc_strlcpy

#define strtof ( a,
 )     ((float)strtod (a, b))

#define strtoll   vlc_strtoll

#define uselocale (  )     ((locale_t)0)


Typedef Documentation

typedef void* locale_t


Function Documentation

static int asprintf ( char **  strp,
const char *  fmt,
  ... 
) [inline, static]

static getenv ( const char *  name  )  [inline, static]

static struct tm* gmtime_r ( const time_t *  timep,
struct tm *  result 
) [inline, static]

static lldiv_t lldiv ( long long  numer,
long long  denom 
) [inline, static]

static struct tm* localtime_r ( const time_t *  timep,
struct tm *  result 
) [inline, static]

static int strcasecmp ( const char *  s1,
const char *  s2 
) [inline, static]

static char* strdup ( const char *  str  )  [inline, static]

static int strncasecmp ( const char *  s1,
const char *  s2,
size_t  n 
) [inline, static]

static char* strndup ( const char *  str,
size_t  max 
) [inline, static]

static size_t strnlen ( const char *  str,
size_t  max 
) [inline, static]

static int vasprintf ( char **  strp,
const char *  fmt,
va_list  ap 
) [inline, static]


Generated on Wed Aug 13 08:02:42 2008 for VLC by  doxygen 1.5.1