libavformat/md5proto.c File Reference

#include <stdio.h>
#include "libavutil/avstring.h"
#include "libavutil/md5.h"
#include "libavutil/mem.h"
#include "libavutil/error.h"
#include "avformat.h"
#include "avio.h"
#include "url.h"

Go to the source code of this file.

Defines

#define PRIV_SIZE   128

Functions

static int md5_open (URLContext *h, const char *filename, int flags)
static int md5_write (URLContext *h, const unsigned char *buf, int size)
static int md5_close (URLContext *h)
static int md5_get_handle (URLContext *h)

Variables

URLProtocol ff_md5_protocol


Define Documentation

#define PRIV_SIZE   128

Definition at line 30 of file md5proto.c.

Referenced by md5_open().


Function Documentation

static int md5_close ( URLContext h  )  [static]

Definition at line 53 of file md5proto.c.

static int md5_get_handle ( URLContext h  )  [static]

Definition at line 81 of file md5proto.c.

static int md5_open ( URLContext h,
const char *  filename,
int  flags 
) [static]

Definition at line 32 of file md5proto.c.

static int md5_write ( URLContext h,
const unsigned char *  buf,
int  size 
) [static]

Definition at line 47 of file md5proto.c.


Variable Documentation

Initial value:

 {
    .name                = "md5",
    .url_open            = md5_open,
    .url_write           = md5_write,
    .url_close           = md5_close,
    .url_get_file_handle = md5_get_handle,
    .priv_data_size      = PRIV_SIZE,
}

Definition at line 86 of file md5proto.c.


Generated on Fri Oct 26 02:38:20 2012 for FFmpeg by  doxygen 1.5.8