"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "upnphttp.h" between
minidlna-1.2.1.tar.gz and minidlna-1.3.0.tar.gz

About: ReadyMedia (formerly known as MiniDLNA) is a simple media server software, with the aim of being fully compliant with DLNA/UPnP-AV clients.

upnphttp.h  (minidlna-1.2.1):upnphttp.h  (minidlna-1.3.0)
skipping to change at line 78 skipping to change at line 78
enum httpCommands { enum httpCommands {
EUnknown = 0, EUnknown = 0,
EGet, EGet,
EPost, EPost,
EHead, EHead,
ESubscribe, ESubscribe,
EUnSubscribe EUnSubscribe
}; };
struct upnphttp { struct upnphttp {
int socket; struct event ev;
struct in_addr clientaddr; /* client address */ struct in_addr clientaddr; /* client address */
int iface; int iface;
int state; int state;
char HttpVer[16]; char HttpVer[16];
/* request */ /* request */
char * req_buf; char * req_buf;
int req_buflen; int req_buflen;
int req_contentlen; int req_contentlen;
int req_contentoff; /* header length */ int req_contentoff; /* header length */
enum httpCommands req_command; enum httpCommands req_command;
skipping to change at line 147 skipping to change at line 147
New_upnphttp(int); New_upnphttp(int);
/* CloseSocket_upnphttp() */ /* CloseSocket_upnphttp() */
void void
CloseSocket_upnphttp(struct upnphttp *); CloseSocket_upnphttp(struct upnphttp *);
/* Delete_upnphttp() */ /* Delete_upnphttp() */
void void
Delete_upnphttp(struct upnphttp *); Delete_upnphttp(struct upnphttp *);
/* Process_upnphttp() */
void
Process_upnphttp(struct upnphttp *);
/* BuildHeader_upnphttp() /* BuildHeader_upnphttp()
* build the header for the HTTP Response * build the header for the HTTP Response
* also allocate the buffer for body data */ * also allocate the buffer for body data */
void void
BuildHeader_upnphttp(struct upnphttp * h, int respcode, BuildHeader_upnphttp(struct upnphttp * h, int respcode,
const char * respmsg, const char * respmsg,
int bodylen); int bodylen);
/* BuildResp_upnphttp() /* BuildResp_upnphttp()
* fill the res_buf buffer with the complete * fill the res_buf buffer with the complete
 End of changes. 2 change blocks. 
5 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)