summaryrefslogtreecommitdiffstats
path: root/bindtests
Commit message (Collapse)AuthorAgeFilesLines
* bindtests: Test sending min and max 64 bit integers.Richard W.M. Jones2012-08-151-4/+4
|
* generator: Add new OStringList optional arg type.Richard W.M. Jones2012-08-141-0/+69
| | | | This allows lists of strings to be passed as an optional argument.
* bindtests: Test optargs in test0Matthew Booth2012-01-201-0/+52
| | | | | | | | Note that this change disables compiling and running the haskell bindtests. The haskell bindings do not implement optargs, and adding optargs to test0 causes that method not to be bound in the haskell bindings. This prevents the haskell bindtests from compiling. These should be re-enabled when optargs are implemented.
* generator: Implement BufferIn parameter type (RHBZ#501889).Richard Jones2010-05-201-0/+13
| | | | | | | | | | | | The BufferIn argument turns into various things: in C const char *, size_t parameter pair in XDR an opaque<> type (instead of string) which allows \0 chars in other bindings mostly just a string, since most languages except for C permit strings to contain any 8 bit data
* New API calls: truncate, truncate_size, mkdir_mode, utimens, lchown.Richard Jones2009-11-021-0/+13
| | | | | | | | | | | | | | | truncate, truncate_size: Used to truncate files to a particular size, or to zero bytes. mkdir_mode: Like mkdir but allows you to also specify the initial permissions for the new directory. utimens: Set timestamp on a file with nanosecond accuracy. lchown: Corresponding to lchown(2) syscall (we already have chown). The implementation is complicated by the fact that we had to add an Int64 parameter type to the generator.
* Add tests for bindings parameters, fix several broken bindings.Richard W.M. Jones2009-05-281-0/+92