File: protocol.h

package info (click to toggle)
nullmailer 1.00RC7-22
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,192 kB
  • ctags: 695
  • sloc: cpp: 4,375; sh: 519; makefile: 249; perl: 184; ansic: 10
file content (15 lines) | stat: -rw-r--r-- 373 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef NULLMAILER__PROTOCOL__H__
#define NULLMAILER__PROTOCOL__H__

#include "fdbuf/fdbuf.h"

extern void protocol_fail(int e, const char* msg);
extern void protocol_succ(const char* msg);

// This must be provided by the protocol, but will be set by the lib.
extern int port;

extern void protocol_prep(fdibuf* in);
extern void protocol_send(fdibuf* in, int fd);

#endif