|
FFmpeg
|
#include <stdbool.h>#include "httpauth.h"#include "libavutil/base64.h"#include "libavutil/avstring.h"#include "libavutil/mem.h"#include "internal.h"#include "libavutil/random_seed.h"#include "libavutil/hash.h"#include "urldecode.h"Go to the source code of this file.
Macros | |
| #define | HASH_STRING_LEN (AV_HASH_MAX_SIZE * 2 + 1) |
| Maximum length of a hash string in hexadecimal, with a string terminator. | |
Functions | |
| static void | handle_basic_params (void *context, const char *key, int key_len, char **dest, int *dest_len) |
| static void | handle_digest_params (void *context, const char *key, int key_len, char **dest, int *dest_len) |
| static void | handle_digest_update (void *context, const char *key, int key_len, char **dest, int *dest_len) |
| static void | choose_qop (char *qop, int size) |
| void | ff_http_auth_handle_header (HTTPAuthState *state, const char *key, const char *value) |
| static void | update_hash_strings (struct AVHashContext *hashctx,...) |
| static char * | make_digest_auth (HTTPAuthState *state, const char *username, const char *password, const char *uri, const char *method) |
| char * | ff_http_auth_create_response (HTTPAuthState *state, const char *auth, const char *path, const char *method) |
| #define HASH_STRING_LEN (AV_HASH_MAX_SIZE * 2 + 1) |
Maximum length of a hash string in hexadecimal, with a string terminator.
Definition at line 36 of file httpauth.c.
Referenced by make_digest_auth().
|
static |
Definition at line 38 of file httpauth.c.
Referenced by ff_http_auth_handle_header().
|
static |
Definition at line 48 of file httpauth.c.
Referenced by ff_http_auth_handle_header().
|
static |
Definition at line 75 of file httpauth.c.
Referenced by ff_http_auth_handle_header().
|
static |
Definition at line 87 of file httpauth.c.
Referenced by ff_http_auth_handle_header().
| void ff_http_auth_handle_header | ( | HTTPAuthState * | state, |
| const char * | key, | ||
| const char * | value ) |
Definition at line 100 of file httpauth.c.
Referenced by process_line().
|
static |
Definition at line 128 of file httpauth.c.
Referenced by make_digest_auth().
|
static |
Definition at line 143 of file httpauth.c.
Referenced by ff_http_auth_create_response().
| char * ff_http_auth_create_response | ( | HTTPAuthState * | state, |
| const char * | auth, | ||
| const char * | path, | ||
| const char * | method ) |
Definition at line 257 of file httpauth.c.