Back to index

courier  0.68.2
Functions | Variables
tlsinfo.c File Reference
#include "config.h"
#include "libcouriertls.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

Go to the source code of this file.

Functions

static const char * getenv_wrapper (const char *varname, void *dummy)
static void report_stderr (const char *errmsg, void *dummy)
struct tls_infotls_get_default_info ()

Variables

static struct tls_info = { NULL, NULL, report_stderr, getenv_wrapper, NULL }

Function Documentation

static const char* getenv_wrapper ( const char *  varname,
void *  dummy 
) [static]

Definition at line 15 of file tlsinfo.c.

{
       return getenv(varname);
}
static void report_stderr ( const char *  errmsg,
void *  dummy 
) [static]

Definition at line 20 of file tlsinfo.c.

{
       fprintf(stderr, "%s\n", errmsg);
}
struct tls_info* tls_get_default_info ( ) [read]

Definition at line 28 of file tlsinfo.c.

{
       return &default_info;
}

Here is the caller graph for this function:


Variable Documentation

struct tls_info = { NULL, NULL, report_stderr, getenv_wrapper, NULL } [static]

Definition at line 26 of file tlsinfo.c.