Update win32 for zlib 1.2.3
This commit is contained in:
parent
b10762b4d5
commit
07857c6eba
|
@ -97,6 +97,7 @@ PLUGIN_INPUT_FN pi = {
|
|||
ws_emitheaders,
|
||||
pi_ws_fd,
|
||||
ws_getrequestheader,
|
||||
ws_writebinary,
|
||||
|
||||
pi_server_ver,
|
||||
pi_server_name,
|
||||
|
|
|
@ -73,6 +73,7 @@ typedef struct tag_plugin_input_fn {
|
|||
void (*ws_emitheaders)(WS_CONNINFO *);
|
||||
int (*ws_fd)(WS_CONNINFO *);
|
||||
char* (*ws_getrequestheader)(WS_CONNINFO *, char *);
|
||||
int (*ws_writebinary)(WS_CONNINFO *, char *, int);
|
||||
|
||||
/* misc helpers */
|
||||
char* (*server_ver)(void);
|
||||
|
|
|
@ -155,6 +155,7 @@ typedef struct tag_plugin_input_fn {
|
|||
void (*ws_emitheaders)(WS_CONNINFO *);
|
||||
int (*ws_fd)(WS_CONNINFO *);
|
||||
char* (*ws_getrequestheader)(WS_CONNINFO *, char *);
|
||||
int (*ws_writebinary)(WS_CONNINFO *, char *, int);
|
||||
|
||||
/* misc helpers */
|
||||
char* (*server_ver)(void);
|
||||
|
|
|
@ -994,6 +994,14 @@ int ws_writefd(WS_CONNINFO *pwsc, char *fmt, ...) {
|
|||
return r_write(pwsc->fd,buffer,strlen(buffer));
|
||||
}
|
||||
|
||||
/**
|
||||
* write a blob od data to the connfd
|
||||
*/
|
||||
int ws_writebinary(WS_CONNINFO *pwsc, char *data, int len) {
|
||||
return r_write(pwsc->fd,data,len);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* ws_returnerror
|
||||
|
|
|
@ -92,6 +92,7 @@ extern void ws_close(WS_CONNINFO *pwsc);
|
|||
extern int ws_returnerror(WS_CONNINFO *pwsc, int error, char *description);
|
||||
extern int ws_addresponseheader(WS_CONNINFO *pwsc, char *header, char *fmt, ...);
|
||||
extern int ws_writefd(WS_CONNINFO *pwsc, char *fmt, ...);
|
||||
extern int ws_writebinary(WS_CONNINFO *pwsc, char *data, int len);
|
||||
extern char *ws_getvar(WS_CONNINFO *pwsc, char *var);
|
||||
extern char *ws_getrequestheader(WS_CONNINFO *pwsc, char *header);
|
||||
extern int ws_testrequestheader(WS_CONNINFO *pwsc, char *header, char *value);
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="zlib.lib libid3tag.lib gnu_regex.lib pthreadVC2.lib wsock32.lib sqlite3.lib sqlite.lib dnssd.lib"
|
||||
AdditionalDependencies="zdll.lib libid3tag.lib gnu_regex.lib pthreadVC2.lib wsock32.lib sqlite3.lib sqlite.lib dnssd.lib"
|
||||
OutputFile="$(OutDir)/mt-daapd.exe"
|
||||
LinkIncremental="2"
|
||||
AdditionalLibraryDirectories=""
|
||||
|
@ -83,7 +83,7 @@
|
|||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="zlib.lib libid3tag.lib gnu_regex.lib pthreadVC2.lib wsock32.lib sqlite3.lib sqlite.lib dnssd.lib"
|
||||
AdditionalDependencies="zdll.lib libid3tag.lib gnu_regex.lib pthreadVC2.lib wsock32.lib sqlite3.lib sqlite.lib dnssd.lib"
|
||||
OutputFile="$(OutDir)/mt-daapd.exe"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories=""
|
||||
|
|
Loading…
Reference in New Issue