.\" You can view this file with: .\" nroff -man [file] .\" $Author: johntabularasa $ .\" $Id: gutenfetch_new_server.3,v 1.2 2004/07/17 16:01:17 johntabularasa Exp $ .\" .TH GUTENFETCH_NEW_SERVER 3 "17 July 2004" "libgutenfetch 1.1" .SH NAME gutenfetch_new_server \-\- This function creates a new gutenfetch_server_t data structure. .SH SYNOPSIS .B #include .I gutenfetch_server_t * .br .B gutenfetch_new_server( .I char *host , .I char *name , .I char *area , .I gutenfetch_continent_t ); .SH DESCRIPTION This function returns NULL on failue. On success it returns a valid pointer to a \fIgutenfetch_server_t *\fP structure. The returned pointer must be freed with a call to \fIgutenfetch_free_server()\fP. It accepts as parameters NULL-terminated strings \fIhost\fP, \fIname\fP and \fIarea\fP which are the URL, descriptive name and geographic area respectively. The fourth paramter declares the continent that the server lives on. .SH SEE ALSO .B libgutenfetch (3), .B gutenfetch_get_list_servers (3), .B gutenfetch_get_active_server (3), .B gutenfetch_set_active_server (3), .B gutenfetch_set_active_server_full (3), .B gutenfetch_duplicate_server (3), .B gutenfetch_free_server (3), .B gutenfetch_free_servers (3) .SH COPYRIGHT libgutenfetch is Copyright (C) 2004 Russell Francis. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA .SH BUGS Probably, if you find them please take the time to let me know about them by filling out a bug report at the following URL. .TP .B http://www.sourceforge.net/tracker/?group_id=104733&func=browse .SH AUTHORS Russell Francis