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-response.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nanohttp/nanohttp-response.h') diff --git a/nanohttp/nanohttp-response.h b/nanohttp/nanohttp-response.h index 7607eb7..63dd463 100755 --- a/nanohttp/nanohttp-response.h +++ b/nanohttp/nanohttp-response.h @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: nanohttp-response.h,v 1.1 2004/10/15 13:30:42 snowdrop Exp $ + * $Id: nanohttp-response.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 @@ -43,7 +43,7 @@ typedef struct hresponse char root_part_id[150]; }hresponse_t; -hresponse_t *hresponse_new_from_socket(hsocket_t sock); +herror_t hresponse_new_from_socket(hsocket_t sock, hresponse_t **out); void hresponse_free(hresponse_t *res); -- cgit v1.1-32-gdbae