| 6 |
details. |
details. |
| 7 |
|
|
| 8 |
Function prototypes |
Function prototypes |
| 9 |
$Id: mix3.h,v 1.14 2002/08/28 09:35:25 weaselp Exp $ */ |
$Id: mix3.h,v 1.15 2002/09/05 01:21:54 weaselp Exp $ */ |
| 10 |
|
|
| 11 |
|
|
| 12 |
#ifndef _MIX3_H |
#ifndef _MIX3_H |
| 34 |
#define NOT_IMPLEMENTED {printf("Function not implemented.\n");return -1;} |
#define NOT_IMPLEMENTED {printf("Function not implemented.\n");return -1;} |
| 35 |
#define SECONDSPERDAY 86400 |
#define SECONDSPERDAY 86400 |
| 36 |
|
|
| 37 |
|
#include <time.h> |
| 38 |
|
|
| 39 |
/* Dynamically allocated buffers */ |
/* Dynamically allocated buffers */ |
| 40 |
|
|
| 41 |
int buf_reset(BUFFER *buffer); |
int buf_reset(BUFFER *buffer); |
| 124 |
int maildirWrite(char *maildir, BUFFER *message, int create); |
int maildirWrite(char *maildir, BUFFER *message, int create); |
| 125 |
int write_pidfile(char *pidfile); |
int write_pidfile(char *pidfile); |
| 126 |
int clear_pidfile(char *pidfile); |
int clear_pidfile(char *pidfile); |
| 127 |
|
time_t parse_yearmonthday(char* str); |
| 128 |
|
|
| 129 |
|
|
| 130 |
typedef struct { |
typedef struct { |