FFmpeg  4.0
Data Structures | Functions | Variables
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.

Data Structures

struct  MD5Context
 

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)
 

Variables

const URLProtocol ff_md5_protocol
 

Function Documentation

◆ md5_open()

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

Definition at line 34 of file md5proto.c.

◆ md5_write()

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

Definition at line 49 of file md5proto.c.

◆ md5_close()

static int md5_close ( URLContext h)
static

Definition at line 56 of file md5proto.c.

Variable Documentation

◆ ff_md5_protocol

const URLProtocol ff_md5_protocol
Initial value:
= {
.name = "md5",
.url_open = md5_open,
.url_write = md5_write,
.url_close = md5_close,
.priv_data_size = sizeof(struct MD5Context),
}
static int md5_write(URLContext *h, const unsigned char *buf, int size)
Definition: md5proto.c:49
static int md5_open(URLContext *h, const char *filename, int flags)
Definition: md5proto.c:34
static int md5_close(URLContext *h)
Definition: md5proto.c:56

Definition at line 90 of file md5proto.c.