]> git.ozlabs.org Git - ccan/commit
rfc822: Add an example program
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 3 Oct 2012 13:02:39 +0000 (23:02 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 3 Oct 2012 13:02:39 +0000 (23:02 +1000)
commitaffb2280db6983da455a73a2dd078f1d3f0e7268
tree425311ad8aed7ab3b78f98f047cd5c6d8fc3d04f
parent049ae7d0ade969c44d0ffab043f507fa7827bf09
rfc822: Add an example program

Add a simple full-blown example program for the rfc822 module.
'headernames' simply dumps the header field name for every header field in
each message file given on the command line to stdout.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
ccan/rfc822/examples/.gitignore [new file with mode: 0644]
ccan/rfc822/examples/Makefile [new file with mode: 0644]
ccan/rfc822/examples/headernames.c [new file with mode: 0644]