Qsmtp  0.30dev
Functions | Variables
queue.h File Reference

function definitions for communication with qmail-queue More...

Go to the source code of this file.

Functions

void queue_reset (void)
 reset queue descriptors
 
int queue_init (void)
 
int queue_envelope (const unsigned long msgsize, const int chunked)
 write the envelope data to qmail-queue and syslog More...
 
int queue_result (void)
 

Variables

int queuefd_data
 
int queuefd_hdr
 

Detailed Description

function definitions for communication with qmail-queue

Function Documentation

int queue_envelope ( const unsigned long  msgsize,
const int  chunked 
)

write the envelope data to qmail-queue and syslog

Parameters
msgsizesize of the received message in bytes
chunkedif message was transferred using BDAT

Variable Documentation

int queuefd_data

fd to send message data to qmail-queue

descriptor to send message data to qmail-queue

int queuefd_hdr

fd to send header data to qmail-queue

descriptor to send header data to qmail-queue