ftp.c File Reference

Include dependency graph for ftp.c:


Data Structures

struct  access_sys_t
 ************************************************************************** This is our own access_sys_t for zip files More...

Defines

#define IPPORT_FTP   21u
#define CACHING_TEXT   N_("Caching value in ms")
#define CACHING_LONGTEXT
#define USER_TEXT   N_("FTP user name")
#define USER_LONGTEXT
#define PASS_TEXT   N_("FTP password")
#define PASS_LONGTEXT
#define ACCOUNT_TEXT   N_("FTP account")
#define ACCOUNT_LONGTEXT
#define GET_OUT_SYS(p_this)   ((access_sys_t *)(((sout_access_out_t *)(p_this))->p_sys))

Functions

static int InOpen (vlc_object_t *)
static void InClose (vlc_object_t *)
static int OutOpen (vlc_object_t *)
static void OutClose (vlc_object_t *)
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
static ssize_t Read (access_t *, uint8_t *, size_t)
static ssize_t Write (sout_access_out_t *, block_t *)
static int Seek (access_t *, uint64_t)
static int OutSeek (sout_access_out_t *, off_t)
static int Control (access_t *, int, va_list)
static int ftp_SendCommand (vlc_object_t *, access_sys_t *, const char *,...)
static int ftp_ReadCommand (vlc_object_t *, access_sys_t *, int *, char **)
static int ftp_StartStream (vlc_object_t *, access_sys_t *, uint64_t)
static int ftp_StopStream (vlc_object_t *, access_sys_t *)
static int Login (vlc_object_t *p_access, access_sys_t *p_sys)
static int Connect (vlc_object_t *p_access, access_sys_t *p_sys)
static int parseURL (vlc_url_t *url, const char *path)
static void Close (vlc_object_t *p_access, access_sys_t *p_sys)
static int _Seek (vlc_object_t *p_access, access_sys_t *p_sys, uint64_t i_pos)

Define Documentation

#define ACCOUNT_LONGTEXT

Value:

N_("Account that will be " \
    "used for the connection.")

#define ACCOUNT_TEXT   N_("FTP account")

#define CACHING_LONGTEXT

Value:

N_( \
    "Caching value for FTP streams. This " \
    "value should be set in milliseconds." )

#define CACHING_TEXT   N_("Caching value in ms")

#define GET_OUT_SYS ( p_this   )     ((access_sys_t *)(((sout_access_out_t *)(p_this))->p_sys))

Referenced by OutClose(), OutSeek(), and Write().

#define IPPORT_FTP   21u

Referenced by parseURL().

#define PASS_LONGTEXT

Value:

N_("Password that will be " \
    "used for the connection.")

#define PASS_TEXT   N_("FTP password")

#define USER_LONGTEXT

Value:

N_("User name that will " \
    "be used for the connection.")

#define USER_TEXT   N_("FTP user name")


Function Documentation

static int _Seek ( vlc_object_t p_access,
access_sys_t p_sys,
uint64_t  i_pos 
) [static]

static void Close ( vlc_object_t p_access,
access_sys_t p_sys 
) [static]

static int Connect ( vlc_object_t p_access,
access_sys_t p_sys 
) [static]

static int Control ( access_t p_access,
int  i_query,
va_list  args 
) [static]

static int ftp_ReadCommand ( vlc_object_t p_access,
access_sys_t p_sys,
int *  pi_answer,
char **  ppsz_answer 
) [static]

static int ftp_SendCommand ( vlc_object_t p_access,
access_sys_t p_sys,
const char *  psz_fmt,
  ... 
) [static]

static int ftp_StartStream ( vlc_object_t p_access,
access_sys_t p_sys,
uint64_t  i_start 
) [static]

static int ftp_StopStream ( vlc_object_t p_access,
access_sys_t p_sys 
) [static]

static void InClose ( vlc_object_t p_this  )  [static]

References Close(), and p_sys.

static int InOpen ( vlc_object_t p_this  )  [static]

static int Login ( vlc_object_t p_access,
access_sys_t p_sys 
) [static]

static void OutClose ( vlc_object_t p_this  )  [static]

References Close(), and GET_OUT_SYS.

static int OutOpen ( vlc_object_t p_this  )  [static]

static int OutSeek ( sout_access_out_t p_access,
off_t  i_pos 
) [static]

References _Seek(), and GET_OUT_SYS.

Referenced by OutOpen().

static int parseURL ( vlc_url_t url,
const char *  path 
) [static]

static ssize_t Read ( access_t p_access,
uint8_t *  p_buffer,
size_t  i_len 
) [static]

static int Seek ( access_t p_access,
uint64_t  i_pos 
) [static]

References _Seek(), and VLC_SUCCESS.

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 

static ssize_t Write ( sout_access_out_t p_access,
block_t p_buffer 
) [static]


Generated on Tue May 25 08:05:07 2010 for VLC by  doxygen 1.5.6