summaryrefslogtreecommitdiff
path: root/tbdiff/tbdiff-io.h
Commit message (Collapse)AuthorAgeFilesLines
* Use POSIX file operations for tbdiff-applyBen Brewer2014-06-041-7/+7
| | | | For the consistency reasons listed in earlier commits.
* Use POSIX file functions for tbdiff-create streamBen Brewer2014-06-041-7/+8
| | | | | | | POSIX file functions are more consistent and simple, originally stdio was used to make the code as portable as possible, however since it now relies on POSIX functionality anyway there's no need for the inconsistency.
* Remove extern keyword since it's not neededBen Brewer2014-06-021-14/+14
| | | | | | The extern keyword is not needed since it's the default property for a function, it also takes up extra space on the line which leads to more wrapping.
* Remove read/write_size from tbdiff-io since they're unusedBen Brewer2014-06-021-2/+0
| | | | | Also removed because size_t can vary in size across platforms, which makes it unsuitable for storing in our diff stream.
* style: Cleanup the names of the tbd read/write wrappersBen Brewer2014-06-021-16/+16
|
* Add externs to functions in tbdiff-io.h and cleanupBen Brewer2014-06-021-32/+18
| | | | | The externs are not required but it's inkeeping with the other headers which all currently have them.
* Switch to a shared tbdiff library and make this an autotools project.Jannis Pohlmann2012-03-221-0/+63
This commit converts tbdiff to being an autotools-based project. This means that we now support the usual autoreconf -i && ./configure && make && make install process, plus we provide 'make check' for the tbdiff test suite. The tbdiff library is now build as a shared library and is also installed into the system for others to use. The library is libtool-versioned and ships a pkg-config file (tbdiff-1.pc). The headers were adjusted so that only tbdiff/tbdiff.h may be included directly; all others are considered internal. The tbdiff-create and tbdiff-deploy tools were changed to include this header file. The tbdiff library is still GPL, not LGPL. We might want to change this in the future. Thanks to switching to autotools we now have a way to make releases by means of 'make dist' and 'make distcheck'. Unfortunately, the latter currently fails, probably due to something being missing in tbdiff/Makefile.am.