From d24d6ab7bbfda8e302af3a5cf8be62299d543c1a Mon Sep 17 00:00:00 2001 From: snowdrop Date: Thu, 28 Oct 2004 10:30:41 +0000 Subject: changed hstatus_t to herror_t and chagend the API function to return herror_t. Added herror_*() functions and fixed a bug in the socket receive comm. --- nanohttp/nanohttp-request.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nanohttp/nanohttp-request.h') diff --git a/nanohttp/nanohttp-request.h b/nanohttp/nanohttp-request.h index c445596..8989247 100755 --- a/nanohttp/nanohttp-request.h +++ b/nanohttp/nanohttp-request.h @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: nanohttp-request.h,v 1.1 2004/10/15 13:30:42 snowdrop Exp $ + * $Id: nanohttp-request.h,v 1.2 2004/10/28 10:30:46 snowdrop Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003-2004 Ferhat Ayaz @@ -45,7 +45,7 @@ typedef struct hrequest char root_part_id[150]; }hrequest_t; -hrequest_t *hrequest_new_from_socket(hsocket_t sock); +herror_t hrequest_new_from_socket(hsocket_t sock, hrequest_t **out); void hrequest_free(hrequest_t *req); #endif -- cgit v1.1-32-gdbae