File nut/pro/pop3c.c


Included Files


Preprocessor definitions

#define POP3_TIMEOUT 600000

Global Function NutPop3Connect()

POP3CLIENTSESSION* NutPop3Connect ( uint32_t ip, uint16_t port )
Prototyped in: nut/include/pro/pop3c.h
Calls: NutPop3Disconnect() nut/pro/pop3c.c
  NutPop3ReceiveResponse() nut/pro/pop3c.c
  NutTcpConnect() nut/net/tcpsock.c
  NutTcpCreateSocket() nut/net/tcpsock.c
  NutTcpSetSockOpt() nut/net/tcpsock.c
  _fdopen() nut/crt/fdopen.c
  free() nut/crt/malloc.c
  strchr() nut/c/string/strchr.c
  strdup() nut/crt/strdup.c
  calloc()

Global Function NutPop3DeleteMsg()

int NutPop3DeleteMsg ( POP3CLIENTSESSION* si, int msg )
Prototyped in: nut/include/pro/pop3c.h
Calls: CheckResponse() nut/pro/pop3c.c
  NutPop3SendCommand() nut/pro/pop3c.c

Global Function NutPop3Disconnect()

void NutPop3Disconnect ( POP3CLIENTSESSION* si )
Prototyped in: nut/include/pro/pop3c.h
Calls: NutPop3SendCommand() nut/pro/pop3c.c
  NutTcpCloseSocket() nut/net/tcpsock.c
  fclose() nut/crt/fclose.c
  free() nut/crt/malloc.c
Called by: NutPop3Connect() nut/pro/pop3c.c

Global Function NutPop3Login()

int NutPop3Login ( POP3CLIENTSESSION* si, char* user, char* pass )
Prototyped in: nut/include/pro/pop3c.h
Calls: CheckResponse() nut/pro/pop3c.c
  NutMD5Final() nut/gorp/hashes/md5.c
  NutMD5Init() nut/gorp/hashes/md5.c
  NutMD5Update() nut/gorp/hashes/md5.c
  NutPop3SendCommand() nut/pro/pop3c.c
  free() nut/crt/malloc.c
  malloc() nut/crt/malloc.c
  strcat() nut/c/string/strcat.c
  strcpy() nut/c/string/strcpy.c
  strlen() nut/c/string/strlen.c
  calloc()

Global Function NutPop3ReceiveResponse()

const char* NutPop3ReceiveResponse ( POP3CLIENTSESSION* si )
Prototyped in: nut/include/pro/pop3c.h
Calls: fgets() nut/crt/fgets.c
  strchr() nut/c/string/strchr.c
Called by: NutPop3Connect() nut/pro/pop3c.c
  NutPop3SendCommand() nut/pro/pop3c.c

Global Function NutPop3RetrieveMsg()

int NutPop3RetrieveMsg ( POP3CLIENTSESSION* si, int msg )
Prototyped in: nut/include/pro/pop3c.h
Calls: CheckResponse() nut/pro/pop3c.c
  NutPop3SendCommand() nut/pro/pop3c.c

Global Function NutPop3SendCommand()

const char* NutPop3SendCommand ( POP3CLIENTSESSION* si, const char* fmt, ... )
Prototyped in: nut/include/pro/pop3c.h
Calls: NutPop3ReceiveResponse() nut/pro/pop3c.c
  fflush() nut/crt/fflush.c
  fputs() nut/crt/fputs.c
  vfprintf() nut/crt/vfprintf.c
  __builtin_va_end(), __builtin_va_start()
Called by: NutPop3DeleteMsg() nut/pro/pop3c.c
  NutPop3Disconnect() nut/pro/pop3c.c
  NutPop3Login() nut/pro/pop3c.c
  NutPop3RetrieveMsg() nut/pro/pop3c.c

Local Function CheckResponse()

static int CheckResponse ( const char* response )
Called by: NutPop3DeleteMsg() nut/pro/pop3c.c
  NutPop3Login() nut/pro/pop3c.c
  NutPop3RetrieveMsg() nut/pro/pop3c.c