Download List

项目描述

Vstr is a safe and fast string library for C. It is designed for network communication. Its design uses chunks of ptr+length data, so adding, substituting, and deleting data are all fast operations. This model also allows it to do automatic referencing for mmap() areas of memory. Shortcut APIs are included to mmap() a file into a Vstr string, and read()/write() data to/from a Vstr string. Another big feature of the library is a POSIX and ISO 9899:1999 compliant printf() like function, which can also be extended with user supplied formatters that are gcc warning compatible. The total API is over 280 functions, but laid out in a easy to remember manner, including data parsing functions, a non-destructive split() function, and conversion functions (among others).

系统要求

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2006-03-07 07:36
1.0.15

Bytemap功能被添加到加快解析。自定义格式化是加快以井。变通办法是增加了一个隐藏的Linux的UIO的2GB限制和海湾合作委员会锯齿脑损伤4.x的象征。 Solaris的建设与修复了同一个问题的解决装载零沿大小的文件与vstr_sc_ * _file()和一对夫妇的其他小问题。
标签: Minor feature enhancements
Bytemap functions were added to accelerate parsing. Custom formatters were sped up with a hash. Workarounds were added for a hidden Linux UIO 2GB limit and GCC 4.x symbol aliasing brain damage. Solaris build fixes were made along with a fix for a problem with loading zero-sized files with vstr_sc_*_file() and a couple of other minor problems.

2005-01-10 13:23
1.0.14

一些角落,案中应用中的错误是固定的。单元测试仍是100%的代码覆盖。一些小的调整,使提出了友好的API。 httpd的示例应用程序现在应该会更快,HTTP/1.1兼容,安全的远程攻击,可以停止分裂的反应,并可以聘请gzip内容编码。修复了建立非Linux平台。
标签: Minor bugfixes
Some corner case bugs found in applications were fixed. Unit testing is still at 100% code coverage. Some minor tweaks were made to make the API friendlier. The HTTPD example application should now be faster, HTTP/1.1 compliant, secure from remote attacks, able to stop response splitting, and able to employ gzip content-encoding. Build fixes were made for non-Linux platforms.

2004-08-30 11:09
1.0.13

额外的单元测试代码添加,使100%的代码覆盖的测试,每行代码库。增加了一些功能,以协助处理二进制数据,使用迭代器,做了大量的用户朋友字节输出,并与GMP的事情一样工作。这个构建的系统有了很大更好的例子,默认情况下兴建,在FreeBSD默认情况下,汇编工作,并LFS的支持更加友好的开发。有些工作是在RPM包的。
标签: Minor feature enhancements
Additional unit testing code was added, giving 100%
code coverage that tests every line of code in the
library. Some functions were added to assist with
working with binary data, using iterators, doing user
friend byte output with large numbers, and working
with things like gmp. The build system is now much
nicer with the examples being built by default,
compilation on FreeBSD working by default, and LFS
support being more developer friendly. Some work
was made on the RPMs.

2004-01-26 12:30
1.0.12

此版本增加了更多的测试(目前超过99%的代码覆盖),修复一个大错误,一个小错误的情侣,增加了对存储在配置不变的数据一些功能,现在在内部使用某些操作为Vstr_ref组分配。
标签: Major bugfixes
This release adds more testing (now at over 99% code coverage), fixes one large bug and a couple of smaller bugs, adds a few functions for storing constant data in the configuration, and now internally uses a group allocator for Vstr_ref for some operations.

2003-12-15 15:52
1.0.11

输出使用vstr_sc_fmt_add_ptr()是固定的,因为错误的类型是为vstr_sc_fmt_cb_beg使用()。 vstr_export_chr()被改为更容易优化海湾合作委员会。自定义格式化现在接受承兑交单,而不是字段宽度或静态格式跳棋康帕特精度%。建立了用于修复Cygwin的,64位架构,以及国际刑事法院。调试模式不再提出了某些配置更改时得到外界分配值虚假的错误。
标签: Minor bugfixes
The output using vstr_sc_fmt_add_ptr() was fixed,
as the wrong type was used for
vstr_sc_fmt_cb_beg(). vstr_export_chr() was
changed to make it easier to optimize for GCC.
Custom formatters now accept %d instead of the
field width or precision in the static format
checkers compat. Build fixes were made for Cygwin,
64-bit architectures, and ICC. Debug mode no
longer raises false errors when changing certain
configuration values to be externally allocated.

Project Resources