#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 "memory.h"#include <curl/mprintf.h>#include "memdebug.h"Go to the source code of this file.
Defines | |
| #define | _MPRINTF_REPLACE |
| #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) |
| #define LOGINSIZE 64 |
| #define NETRC DOT_CHAR "netrc" |
Referenced by Curl_parsenetrc().
| #define PASSWORDSIZE 64 |
| anonymous enum |
| int Curl_parsenetrc | ( | char * | host, | |
| char * | login, | |||
| char * | password, | |||
| char * | netrcfile | |||
| ) |
Definition at line 75 of file netrc.c.
References curl_getenv(), curl_maprintf(), DIR_CHAR, FALSE, free, HOSTFOUND, HOSTVALID, LOGINSIZE, NETRC, NOTHING, NULL, PASSWORDSIZE, state(), strequal, strtok_r, and TRUE.
Referenced by CreateConnection().
1.5.6