#include "dns_sd.h"#include <ctype.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <errno.h>#include <time.h>#include <sys/types.h>#include <unistd.h>#include <netdb.h>#include <sys/time.h>#include <arpa/inet.h>#include <netinet/in.h>#include <sys/socket.h>Classes | |
| union | Opaque16 |
Defines | |
| #define | LONG_TIME 100000000 |
| #define | DomainMsg(X) |
| #define | HexVal(X) |
| #define | HexPair(P) ((HexVal((P)[0]) << 4) | HexVal((P)[1])) |
Functions | |
| int | main (int argc, char **argv) |
| #define DomainMsg | ( | X | ) |
Value:
(((X) & kDNSServiceFlagsDefault) ? "(Default)" : \ ((X) & kDNSServiceFlagsAdd) ? "Added" : "Removed")
| #define HexPair | ( | P | ) | ((HexVal((P)[0]) << 4) | HexVal((P)[1])) |
| #define HexVal | ( | X | ) |
Value:
( ((X) >= '0' && (X) <= '9') ? ((X) - '0' ) : \ ((X) >= 'A' && (X) <= 'F') ? ((X) - 'A' + 10) : \ ((X) >= 'a' && (X) <= 'f') ? ((X) - 'a' + 10) : 0)
| #define LONG_TIME 100000000 |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
1.5.8