Back to index

courier  0.68.2
Defines | Functions
tlspasswordcache.c File Reference
#include "config.h"
#include "tlspasswordcache.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include <md5/md5.h>

Go to the source code of this file.

Defines

#define PASSFILEFORMAT   1

Functions

int tlspassword_init ()
int tlspassword_save (const char *const *urls, const char *const *pwds, const char *mpw, int(*writefunc)(const char *, size_t, void *), void *writefuncarg)
int tlspassword_load (int(*readfunc)(char *, size_t, void *), void *readfuncarg, const char *mpw, void(*callback)(const char *const *, const char *const *, void *), void *callback_arg)

Define Documentation

#define PASSFILEFORMAT   1

Definition at line 15 of file tlspasswordcache.c.


Function Documentation

Definition at line 926 of file tlspasswordcache.c.

{
       return 0;
}
int tlspassword_load ( int(*)(char *, size_t, void *)  readfunc,
void *  readfuncarg,
const char *  mpw,
void(*)(const char *const *, const char *const *, void *)  callback,
void *  callback_arg 
)

Definition at line 942 of file tlspasswordcache.c.

{
       errno=EIO;
       return -1;
}
int tlspassword_save ( const char *const *  urls,
const char *const *  pwds,
const char *  mpw,
int(*)(const char *, size_t, void *)  writefunc,
void *  writefuncarg 
)

Definition at line 932 of file tlspasswordcache.c.

{
       errno=EIO;
       return -1;
}