~vorlon/ubuntu/raring/upstart/lp.1199778

Viewing all changes in revision 319.

  • Committer: Scott James Remnant
  • Date: 2006-12-17 17:24:44 UTC
  • Revision ID: scott@netsplit.com-20061217172444-309zqrub28mank7e
* upstart/wire.c (upstart_write_string, upstart_read_string):
Transmit the length as an unsigned, and use 0xffffffff to mean NULL
instead of zero so we can still transmit the empty string.
* upstart/wire.h: Update.
* upstart/tests/test_wire.c (test_write_string, test_read_string):
Tests for the functions to make sure the wire is at it should be.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: