summaryrefslogtreecommitdiffstats
path: root/avahi-core/entry.c
Commit message (Collapse)AuthorAgeFilesLines
* resyncFederico Lucifredi2008-01-101-1/+5
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1686 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fixing naming convention (avahi_)Federico Lucifredi2008-01-071-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1684 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* tracing cores.Federico Lucifredi2008-01-061-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1683 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* resyncing riker to maelstrom.Federico Lucifredi2008-01-061-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1682 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* bungled params.Federico Lucifredi2008-01-061-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1680 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* adding static publishing test call.Federico Lucifredi2008-01-061-2/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1677 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* added uint16_to_canonical_string() Federico Lucifredi2007-12-271-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1657 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* added c_to_canonical_string() to be used in generating DNS-label-formatted strinFederico Lucifredi2007-12-271-2/+2
| | | | | | | | gs outside of an AvahiDNSPacket. git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1656 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fixes.Federico Lucifredi2007-12-271-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1655 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* check.Federico Lucifredi2007-12-271-1/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1654 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* fixes.Federico Lucifredi2007-12-271-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1653 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* test.Federico Lucifredi2007-12-271-19/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1647 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* test.Federico Lucifredi2007-12-271-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1646 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* testFederico Lucifredi2007-12-271-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1645 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* testFederico Lucifredi2007-12-271-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1644 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* testFederico Lucifredi2007-12-271-4/+18
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1643 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* testFederico Lucifredi2007-12-271-2/+5
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1642 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* jesus, I am so tired I cannot read the obvious.Federico Lucifredi2007-12-271-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1641 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* test.Federico Lucifredi2007-12-271-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1640 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* testFederico Lucifredi2007-12-271-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1639 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* hah. Pascal-style string, what a deja-vu.Federico Lucifredi2007-12-271-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1638 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* testFederico Lucifredi2007-12-271-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1637 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* testFederico Lucifredi2007-12-271-0/+5
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1636 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* building wire-format packet.Federico Lucifredi2007-12-251-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1625 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* temporarily comment out invocation.Federico Lucifredi2007-12-251-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1624 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* building wire-format packet.Federico Lucifredi2007-12-251-2/+0
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1622 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* dummy dumpFederico Lucifredi2007-12-251-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1620 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* whoopsie.Federico Lucifredi2007-12-251-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1619 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* resyncFederico Lucifredi2007-12-251-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1616 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* next I will need terminal codes to make them stand out :)Federico Lucifredi2007-10-201-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1555 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* verifying selected wide-area pub exitpoint by tracing.Federico Lucifredi2007-10-201-1/+0
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1554 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* change message so I can even see itFederico Lucifredi2007-10-201-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1553 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* verifying selected wide-area pub entrypoint by tracing.Federico Lucifredi2007-10-201-1/+5
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1552 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * avahi-core/entry.c: Correctly reset register_time_event when leaving the ↵Trent Lloyd2007-03-301-7/+5
| | | | | | REGISTERING state, not just when calling _reset git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1400 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* don't allow registration of address records for invalid host names according ↵Lennart Poettering2006-03-021-3/+3
| | | | | | to avahi_is_valid_fqdn(). (closes #16, #17) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1169 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* add new error code AVAHI_ERR_IS_EMPTY and use it in avahi_entry_group_commit()Lennart Poettering2006-01-301-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1124 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* don't allow commiting of empty entry groupsLennart Poettering2006-01-301-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1117 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* reenable record updating using AVAHI_PUBLISH_UPDATELennart Poettering2006-01-231-1/+4
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1104 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * when calculating a random jitter time for time events, use the same jitter inLennart Poettering2005-11-161-9/+6
| | | | | | | | | | | | | every 10s timespans. This should increase the probability that multiple responses can be merged into a single packet, and thus decreases network traffic. * add _workstation._tcp services in RUNNING state, not earlier * an important bugfix which fixes the entry group state automatons * remove obsolete debug messages * minor other cleanups git-svn-id: file:///home/lennart/svn/public/avahi/trunk@980 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Do not allow adding RRs to entry groups that are already commitedLennart Poettering2005-11-081-0/+2
| | | | | | | * Reword some misleading log messages git-svn-id: file:///home/lennart/svn/public/avahi/trunk@939 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add two new configuration file options: "disable-publishing" and ↵Lennart Poettering2005-11-061-9/+67
| | | | | | | | | | | "disable-user-service-publishing" * add two new errors: NOT_PERMITTED and NOT_SUPPORTED * add two new publishing flags: AVAHI_PUBLISH_USE_MULTICAST, AVAHI_PUBLISH_USE_WIDE_AREA * return NOT_SUPPORTED when user tries to add RRs in wide area domains - for now git-svn-id: file:///home/lennart/svn/public/avahi/trunk@930 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * many trivial fix to make avahi compile on OpenBSDSebastien Estienne2005-10-281-3/+6
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@903 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * format unknown DNS records according to RFC3597Lennart Poettering2005-10-271-0/+9
| | | | | | | | * add some DNS class and type validity checks to avahi_server_add() * move DNS type and class definitions to avahi-common/defs.h git-svn-id: file:///home/lennart/svn/public/avahi/trunk@896 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * avahi-utils: replace python avahi-browse with a version written in C.Lennart Poettering2005-10-261-1/+1
| | | | | | | | | | | * remove -Wunused from GCC command line and use "unused" attribute instead * remove AVAHI_CLIENT_S_FAILURE and AVAHI_CLIENT_S_INVALID since these event's are never forwarded to the client anyway * make use of AVAHI_GCC_NORETURN * really send eror code with StateChange DBUS signals * ignore EINTR in avahi_simple_poll_loop() git-svn-id: file:///home/lennart/svn/public/avahi/trunk@879 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* reorder arguments of avahi_reverse_lookup_name() to make them more naturalLennart Poettering2005-10-261-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/avahi/trunk@874 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * remove lots of DOXYGEN_SHOULD_SKIP_THIS from the header files, use doxygen ↵Lennart Poettering2005-10-261-0/+1
| | | | | | | | | | macro expansion instead * split of exotic functions from avahi-core/rr.h to avahi-core/rr-util.h * update doxygen docs git-svn-id: file:///home/lennart/svn/public/avahi/trunk@872 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * add new entry group state AVAHI_ENTRY_GROUP_FAILURELennart Poettering2005-10-241-1/+1
| | | | | | | | | | | | * pass error code alongside entry gorup state changes over DBUS * add new server state AVAHI_SERVER_FAILURE * pass error code alongside server state changes over DBUS * fix client-publish-service * rename error code AVAHI_ERR_LOCAL_COLLISION to AVAHI_ERR_COLLISION * update TODO git-svn-id: file:///home/lennart/svn/public/avahi/trunk@854 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * correctly handle empty domain names (i.e. the root zone)Lennart Poettering2005-10-231-185/+212
| | | | | | | | | | | | | | * fix memory initialization error in wide-area.c * make server_add_xx() functions atomic, i.e. clean up half-created entries on failure * add some more validity checking macros and change everything to make use of them * clean up avahi_server_add_address() * change some functions from domain.[ch] to work on a stack buffer instead of malloced memory * update avahi-test.c a little * replace avahi_reverse_lookup_name_{ipv4,ipv6}() with a single function avahi_reverse_lookup_name() * remove avahi_server_add_dns_server_name() from public API git-svn-id: file:///home/lennart/svn/public/avahi/trunk@845 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* * Compile tests only when --enable-tests was specified on the configure ↵Lennart Poettering2005-10-191-1/+1
| | | | | | | | | | | | | command line * Build compat layers only when --enable-compat-{howl,libdns_sd} was passed to configure * drop avahi_strlcpy() to reduce our code/API size * replace getifname() with if_indextoname in avahi-dnsconfd * declare environ if needed in avahi-dnsconfd * drop some useless definitions like AVAHI_PUBLISH_NULL = 0 git-svn-id: file:///home/lennart/svn/public/avahi/trunk@819 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
* in order to reduce our code/API size, drop support for reverse IPv6 name ↵Lennart Poettering2005-10-181-12/+1
| | | | | | lookups ending in .in-addr.int. Use in-addr.arpa exclusively from now on. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@817 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe