doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Enumerations | Functions
netrc.c File Reference
#include "setup.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <curl/curl.h>
#include "netrc.h"
#include "strequal.h"
#include "strtok.h"
#include <curl/mprintf.h>

Go to the source code of this file.

Macros

#define _MPRINTF_REPLACE   /* use our functions only */
 
#define LOGINSIZE   64
 
#define PASSWORDSIZE   64
 
#define NETRC   DOT_CHAR "netrc"
 

Enumerations

enum  {
  NOTHING, HOSTFOUND, HOSTCOMPLETE, HOSTVALID,
  HOSTEND
}
 

Functions

int Curl_parsenetrc (char *host, char *login, char *password, char *netrcfile)
 

Macro Definition Documentation

#define _MPRINTF_REPLACE   /* use our functions only */

Definition at line 49 of file netrc.c.

#define LOGINSIZE   64

Definition at line 75 of file netrc.c.

#define NETRC   DOT_CHAR "netrc"
#define PASSWORDSIZE   64

Definition at line 76 of file netrc.c.

Enumeration Type Documentation

anonymous enum
Enumerator
NOTHING 
HOSTFOUND 
HOSTCOMPLETE 
HOSTVALID 
HOSTEND 

Definition at line 65 of file netrc.c.

Function Documentation

int Curl_parsenetrc ( char *  host,
char *  login,
char *  password,
char *  netrcfile 
)

Definition at line 79 of file netrc.c.