From e2bd3f23a80ac9f59e406688e92a36ca843d364a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 6 Aug 2005 12:46:45 +0000 Subject: Move all docs to docs/ git-svn-id: file:///home/lennart/svn/public/avahi/trunk@245 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-daemon/DBUS-API | 45 ------------------------------------ avahi-daemon/embedd-file.py | 56 --------------------------------------------- 2 files changed, 101 deletions(-) delete mode 100644 avahi-daemon/DBUS-API delete mode 100644 avahi-daemon/embedd-file.py (limited to 'avahi-daemon') diff --git a/avahi-daemon/DBUS-API b/avahi-daemon/DBUS-API deleted file mode 100644 index 7f10ea1..0000000 --- a/avahi-daemon/DBUS-API +++ /dev/null @@ -1,45 +0,0 @@ -$Id$ - -org.freedesktop.Avahi.Server - string GetHostName() - string GetHostNameFqdn() - string GetDomainName() - string GetVersionString() - int32 GetState() - string GetAlternativeHostName(string name) - string GetAlternativeServiceName(string name) - string GetNetworkInterfaceNameByIndex(int32 index) - int32 GetNetworkInterfaceIndexByName(string name) - [int32 interface, int32 protocol, string name, int32 aprotocol, string address] ResolveHostName(int32 interface, int32 protocol, string name, int32 aprotocol) - [int32 interface, int32 protocol, int32 aprotocol, string address, string name] ResolveAddress(int32 interface, int32 protocol, string address) - [int32 interface, int32 protocol, string name, string type, string domain, string host, int32 aprotocol, string address, uint16 port, string txt[]] ResolveService(int32 interface, int32 protocol, string name, string type, string domain, int32 aprotocol) - path EntryGroupNew() - path DomainBrowserNew(int32 interface, int32 protocol, string domain, int32 btype) - path ServiceTypeBrowserNew(int32 interface, int32 protocol, string domain) - path ServiceBrowserNew(int32 interface, int32 protocol, string type, string domain) - SIGNAL StateChanged(int32 state) - -org.freedesktop.Avahi.EntryGroup - void Free() - void Commit() - void Reset() - int32 GetState() - boolean IsEmpty() - void AddService(int32 interface, int32 protocol, string name, string type, string domain, string host, uint16 port, string txt[]) - void AddAddress(int32 interface, int32 protocol, string name, string address) - SIGNAL StateChanged(int32 state) - -org.freedesktop.Avahi.DomainBrowser - void Free() - SIGNAL ItemNew(int32 interface, int32 protocol, string domain) - SIGNAL ItemRemove(int32 interface, int32 protocol, string domain) - -org.freedesktop.Avahi.ServiceTypeBrowser - void Free() - SIGNAL ItemNew(int32 interface, int32 protocol, string type, string domain) - SIGNAL ItemRemove(int32 interface, int32 protocol, string type, string domain) - -org.freedesktop.Avahi.ServiceBrowser - void Free() - SIGNAL ItemNew(int32 interface, int32 protocol, string name, string type, string domain) - SIGNAL ItemRemove(int32 interface, int32 protocol, string name, string type, string domain) 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] " % 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'); - -- cgit