diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-08-06 12:46:45 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-08-06 12:46:45 +0000 |
commit | e2bd3f23a80ac9f59e406688e92a36ca843d364a (patch) | |
tree | e82797e7e7ad426538daaf86f16ffee29d237156 | |
parent | d8c0d081ea456eeb570b760dc3d747c148691ea8 (diff) |
Move all docs to docs/
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@245 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
-rw-r--r-- | avahi-daemon/embedd-file.py | 56 | ||||
-rw-r--r-- | docs/DBUS-API (renamed from avahi-daemon/DBUS-API) | 0 | ||||
-rw-r--r-- | docs/HACKING (renamed from HACKING) | 0 | ||||
-rw-r--r-- | docs/INSTALL (renamed from INSTALL) | 0 | ||||
-rw-r--r-- | docs/README (renamed from README) | 0 | ||||
-rw-r--r-- | docs/todo (renamed from todo) | 0 |
6 files changed, 0 insertions, 56 deletions
diff --git a/avahi-daemon/embedd-file.py b/avahi-daemon/embedd-file.py deleted file mode 100644 index eaa250f..0000000 --- a/avahi-daemon/embedd-file.py +++ /dev/null @@ -1,56 +0,0 @@ -#!/usr/bin/python - -import os, sys - -def usage(ret = 0): - print "%s [-s] <file> <symbol>" % sys.argv[0] - sys.exit(ret) - -args = sys.argv[1:] - -use_static = False - -if len(args) >= 1 and args[0] == '-s': - use_static = True - args = args[1:] - -if len(args) >= 1 and args[0] == '-h': - usage() - -if len(args) != 2: - sys.stderr("Wrong number of arguments") - usage(1) - -f = file(args[0]) -t = f.read() -f.close() - -out = sys.stdout - -if use_static: - out.write("static ") - -out.write('const char %s[] = \n"' % args[1]); - -n = 0 - -for c in t: - if c == '\n': - out.write('\\n"\n"') - n = 0 - elif c == '"': - out.write('\\"') - n += 2 - elif ord(c) < 32 or ord(c) >= 127: - out.write('\\x%02x' % ord(c)) - n += 4 - else: - out.write(c) - n += 1 - - if n >= 76: - out.write('"\n"') - n = 0 - -out.write('";\n'); - diff --git a/avahi-daemon/DBUS-API b/docs/DBUS-API index 7f10ea1..7f10ea1 100644 --- a/avahi-daemon/DBUS-API +++ b/docs/DBUS-API |