From 6a0d3233ffacec92ad230f74458454bf65a24eac Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 9 Jun 2010 15:45:46 +0200 Subject: add Curl_ prefix to conform with cURL naming standards --- lib/ftplistparser.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'lib/ftplistparser.c') diff --git a/lib/ftplistparser.c b/lib/ftplistparser.c index ac6d07675..3dd661788 100644 --- a/lib/ftplistparser.c +++ b/lib/ftplistparser.c @@ -188,7 +188,7 @@ struct ftp_parselist_data { } offsets; }; -struct ftp_parselist_data *ftp_parselist_data_alloc(void) +struct ftp_parselist_data *Curl_ftp_parselist_data_alloc(void) { struct ftp_parselist_data *parselist_data = malloc(sizeof(struct ftp_parselist_data)); @@ -199,7 +199,7 @@ struct ftp_parselist_data *ftp_parselist_data_alloc(void) } -void ftp_parselist_data_free(struct ftp_parselist_data **pl_data) +void Curl_ftp_parselist_data_free(struct ftp_parselist_data **pl_data) { if(*pl_data) free(*pl_data); @@ -207,7 +207,7 @@ void ftp_parselist_data_free(struct ftp_parselist_data **pl_data) } -CURLcode ftp_parselist_geterror(struct ftp_parselist_data *pl_data) +CURLcode Curl_ftp_parselist_geterror(struct ftp_parselist_data *pl_data) { return pl_data->error; } @@ -365,7 +365,8 @@ static CURLcode ftp_pl_insert_finfo(struct connectdata *conn, return CURLE_OK; } -size_t ftp_parselist(char *buffer, size_t size, size_t nmemb, void *connptr) +size_t Curl_ftp_parselist(char *buffer, size_t size, size_t nmemb, + void *connptr) { size_t bufflen = size*nmemb; struct connectdata *conn = (struct connectdata *)connptr; -- cgit v1.2.3