#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 PRIV_SIZE 128 |
Definition at line 30 of file md5proto.c.
Referenced by md5_open().
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.
{
.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.