Back to index

courier  0.68.2
Functions | Variables
dsnstub.c File Reference
#include "courier.h"
#include "rw.h"

Go to the source code of this file.

Functions

static void rw_dsn (struct rw_info *, void(*)(struct rw_info *))
static void rw_del_dsn (struct rw_info *, void(*)(struct rw_info *), void(*)(struct rw_info *, const struct rfc822token *, const struct rfc822token *))
struct rw_list * dsn_rw_install (const struct rw_install_info *p)
const char * dsn_rw_init ()

Variables

static struct rw_transportlocal

Function Documentation

const char* dsn_rw_init ( )

Definition at line 35 of file dsnstub.c.

{
       local=rw_search_transport("local");
       return (0);
}

Here is the call graph for this function:

struct rw_list* dsn_rw_install ( const struct rw_install_info *  p) [read]

Definition at line 27 of file dsnstub.c.

{
static struct rw_list dsn_info={0, "module.dsn - " COURIER_COPYRIGHT,
                            rw_dsn, rw_del_dsn, 0};

       return (&dsn_info);
}

Here is the call graph for this function:

static void rw_del_dsn ( struct rw_info *  rwi,
void(*)(struct rw_info *)  nextfunc,
void(*)(struct rw_info *, const struct rfc822token *,const struct rfc822token *)  delfunc 
) [static]

Definition at line 51 of file dsnstub.c.

{
       delfunc=delfunc;
       (*nextfunc)(rwi);
}

Here is the caller graph for this function:

static void rw_dsn ( struct rw_info *  p,
void(*)(struct rw_info *)  func 
) [static]

Definition at line 41 of file dsnstub.c.

{
       if (local)
       {
              (*local->rw_ptr->rewrite)(p, func);
              return;
       }
       (*func)(p);
}

Here is the caller graph for this function:


Variable Documentation

struct rw_transport* local [static]

Definition at line 25 of file dsnstub.c.