#include <string.h>
#include "libavutil/avstring.h"
#include "libavutil/error.h"
#include "libavutil/file_open.h"
#include "libavutil/getenv_utf8.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include <sys/stat.h>
#include "os_support.h"
#include "url.h"
Go to the source code of this file.
◆ PATH_MAX
◆ OFFSET
◆ populate_ipfs_gateway()
| static int populate_ipfs_gateway |
( |
URLContext * | h | ) |
|
|
static |
◆ translate_ipfs_to_http()
◆ ipfs_read()
| static int ipfs_read |
( |
URLContext * | h, |
|
|
unsigned char * | buf, |
|
|
int | size ) |
|
static |
◆ ipfs_seek()
◆ ipfs_close()
◆ options
Initial value:= {
}
#define AV_OPT_FLAG_DECODING_PARAM
A generic parameter which can be set by the user for demuxing or decoding.
@ AV_OPT_TYPE_STRING
Underlying C type is a uint8_t* that is either NULL or points to a C string allocated with the av_mal...
Definition at line 331 of file ipfsgateway.c.
◆ ipfs_gateway_context_class
| const AVClass ipfs_gateway_context_class |
|
static |
Initial value:= {
.class_name = "IPFS Gateway",
}
const char * av_default_item_name(void *ptr)
Return the context name.
#define LIBAVUTIL_VERSION_INT
Definition at line 336 of file ipfsgateway.c.
◆ ff_ipfs_gateway_protocol
Initial value:= {
.name = "ipfs",
}
static int ipfs_read(URLContext *h, unsigned char *buf, int size)
static int64_t ipfs_seek(URLContext *h, int64_t pos, int whence)
static int ipfs_close(URLContext *h)
static int translate_ipfs_to_http(URLContext *h, const char *uri, int flags, AVDictionary **options)
static const AVClass ipfs_gateway_context_class
Definition at line 343 of file ipfsgateway.c.
◆ ff_ipns_gateway_protocol