]> git.sesse.net Git - vlc/blobdiff - include/vlc_httpd.h
- Add httpd_ServerIP() to obtain HTTP server's IP used with a given client
[vlc] / include / vlc_httpd.h
index 7947d679cf55f2fb3c54458c6cb5a5b1a2883d85..eca57d32435a82c5726a235c3a490734a3461368 100644 (file)
@@ -131,7 +131,8 @@ VLC_EXPORT( void,           httpd_UrlDelete, ( httpd_url_t * ) );
 /* Default client mode is FILE, use these to change it */
 VLC_EXPORT( void,           httpd_ClientModeStream, ( httpd_client_t *cl ) );
 VLC_EXPORT( void,           httpd_ClientModeBidir, ( httpd_client_t *cl ) );
-VLC_EXPORT( char*,          httpd_ClientIP, ( httpd_client_t *cl ) );
+VLC_EXPORT( char*,          httpd_ClientIP, ( httpd_client_t *cl, char *psz_ip ) );
+VLC_EXPORT( char*,          httpd_ServerIP, ( httpd_client_t *cl, char *psz_ip ) );
 
 /* High level */