util.c File Reference

Include dependency graph for util.c:


Defines

#define POSITION_ABSOLUTE   12
#define POSITION_REL_FOR   13
#define POSITION_REL_BACK   11
#define VL_TIME_ABSOLUTE   0
#define VL_TIME_REL_FOR   1
#define VL_TIME_REL_BACK   -1

Functions

char * FileToUrl (char *name, bool *pb_index)
 This function creates a suitable URL for a filename.
int FileLoad (FILE *f, char **pp_data, int *pi_data)
 This function loads a file into a buffer.
int ParseDirectory (intf_thread_t *p_intf, char *psz_root, char *psz_dir)
 This function recursively parses a directory and adds all files.
void PlaylistListNode (intf_thread_t *p_intf, playlist_t *p_pl, playlist_item_t *p_node, char *name, mvar_t *s, int i_depth)
 This function converts the listing of a playlist node into a mvar set.
void HandleSeek (intf_thread_t *p_intf, char *p_value)
 This command parses the "seek" command for the HTTP interface and performs the requested action.
int TestURIParam (char *psz_uri, const char *psz_name)
static char * FindURIValue (char *psz_uri, const char *restrict psz_name, size_t *restrict p_len)
char * ExtractURIValue (char *restrict psz_uri, const char *restrict psz_name, char *restrict psz_buf, size_t bufsize)
 This function extracts the value for a given argument name from an HTTP request.
char * ExtractURIString (char *restrict psz_uri, const char *restrict psz_name)
char * FirstWord (char *psz, char *new)
 Return the first word from a string (works in-place).
static char * FirstOption (char *psz, char *new)
input_item_tMRLParse (intf_thread_t *p_intf, char *_psz, char *psz_name)
 This function parses a MRL.
char * RealPath (const char *psz_src)
 This function returns the real path of a file or directory.

Define Documentation

#define POSITION_ABSOLUTE   12

#define POSITION_REL_BACK   11

#define POSITION_REL_FOR   13

#define VL_TIME_ABSOLUTE   0

#define VL_TIME_REL_BACK   -1

#define VL_TIME_REL_FOR   1


Function Documentation

static char* FindURIValue ( char *  psz_uri,
const char *restrict  psz_name,
size_t *restrict  p_len 
) [static]

static char* FirstOption ( char *  psz,
char *  new 
) [static]


Generated on Wed Aug 13 08:03:21 2008 for VLC by  doxygen 1.5.1