summaryrefslogtreecommitdiff
path: root/lib/ftplistparser.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-06-09 15:45:46 +0200
committerYang Tse <yangsita@gmail.com>2010-06-09 15:45:46 +0200
commit6a0d3233ffacec92ad230f74458454bf65a24eac (patch)
tree58b1ba697fec11e50408b5df5c6ff816791b65d0 /lib/ftplistparser.c
parentd3714b016d9f88420d17861d4a48f39365bdd961 (diff)
downloadcurl-6a0d3233ffacec92ad230f74458454bf65a24eac.tar.gz
add Curl_ prefix to conform with cURL naming standards
Diffstat (limited to 'lib/ftplistparser.c')
-rw-r--r--lib/ftplistparser.c9
1 files changed, 5 insertions, 4 deletions
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;