Friday, February 23, 2007

CyberLink for C v2.1 : I have released the new version today. The major changes are bellow.
* Changed cg_http_request_post() to add a user agent, CyberGarage-HTTP/1.0, as default.
* Changed CG_HTTP_USERAGENT to CG_HTTP_USERAGENT_DEFAULT to add CG_HTTP_USERAGENT as the normal header define.
* Changed cg_http_packet_sethost() not to the port string for lighttpd when the port number is 80.
* Fixed cg_str2*() to return 0 when the parameter is null.
* Fixed cg_http_request_post() not to hung up when the request method is HEAD.
* Added a onlyHeader parameter to cg_http_response_read() and cg_http_response_packet().
* Added CG_HTTP_USERAGENT when CyberLink doesn't use CURL.
* Fixed to compile normally on the release mode for Windows Mobile.
* Added USE_CFILE define and --enable-cfile option to disable the file functions as default.
* Disabled cg_file*() as default.
* Disabled cg_upnp_device_loaddescriptionfile() as default.
* Added cg_filelist_*().
* Added cg_file_listfiles().
* Fixed to compile normally for WindowsCE platforms using Visual Studio 2005 and Windows Mobile 5.0 Pocket PC SDK.
* Changed WindowsCE flags from _WIN32_WCE to WINCE.
* Added time() and localtime() in src/cybergarage/util/ctime_win32.c only for WINCE platforms.
* Changed cg_log_print() for WIN32 platforms.
* Changed to use cg_strdup() instead of strdup() in clog.c.
* Added cg_http_request_settimeout() and cg_http_request_gettimeout().
* Added cg_http_response_settimeout() and cg_http_response_gettimeout().
* Added cg_http_server_settimeout() and cg_http_server_gettimeout().
I have released the protocol stack of UPnP/AV using SVN too. The package includes some samples about the implementation of the media server such as Youtube and Windows Mobile.

Please check it :-)

This page is powered by Blogger. Isn't yours?