Back to index

avfs  1.0.1
Typedefs | Functions | Variables
http_redirect.h File Reference
#include "http_request.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


typedef void(* http_redirect_notify )(void *userdata, const char *src, const char *dest)


void http_redirect_register (http_session *sess, http_redirect_confirm confirm, http_redirect_notify notify, void *userdata)


BEGIN_NEON_DECLS typedef int(* http_redirect_confirm )(void *userdata, const char *src, const char *dest)

Typedef Documentation

typedef void(* http_redirect_notify)(void *userdata, const char *src, const char *dest)

Definition at line 39 of file http_redirect.h.

Function Documentation

void http_redirect_register ( http_session *  sess,
http_redirect_confirm  confirm,
http_redirect_notify  notify,
void *  userdata 

Definition at line 149 of file http_redirect.c.

    struct redirect *red = ne_calloc(sizeof *red);
    red->confirm = confirm;
    red->notify = notify;
    red->userdata = userdata;
    http_add_hooks(sess, &redirect_hooks, red);

Variable Documentation

BEGIN_NEON_DECLS typedef int(* http_redirect_confirm)(void *userdata, const char *src, const char *dest)

Definition at line 34 of file http_redirect.h.