Anope IRC Services  Version 1.8
Data Structures | Macros | Typedefs | Variables
smtp.h File Reference
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <signal.h>
#include <time.h>
#include <errno.h>
#include <limits.h>
#include <netdb.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <sys/types.h>
#include <sys/time.h>
Include dependency graph for smtp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  smtp_header
 
struct  smtp_body_line
 
struct  smtp_message
 

Macros

#define _GNU_SOURCE
 
#define ano_sockclose(fd)   close(fd)
 
#define ano_sockread(fd, buf, len)   read(fd, buf, len)
 
#define ano_sockwrite(fd, buf, len)   write(fd, buf, len)
 
#define SOCKET_ERROR   -1
 

Typedefs

typedef int ano_socket_t
 

Variables

struct smtp_message mail
 
int smtp_debug = 0
 

Macro Definition Documentation

#define _GNU_SOURCE

Definition at line 21 of file smtp.h.

#define ano_sockclose (   fd)    close(fd)

Definition at line 99 of file smtp.h.

#define ano_sockread (   fd,
  buf,
  len 
)    read(fd, buf, len)

Definition at line 100 of file smtp.h.

#define ano_sockwrite (   fd,
  buf,
  len 
)    write(fd, buf, len)

Definition at line 101 of file smtp.h.

#define SOCKET_ERROR   -1

Definition at line 102 of file smtp.h.

Referenced by smtp_connect(), smtp_read(), and smtp_send().

Typedef Documentation

typedef int ano_socket_t

Definition at line 98 of file smtp.h.

Variable Documentation

struct smtp_message mail
int smtp_debug = 0

Definition at line 128 of file smtp.h.

Referenced by alog().