blob: ab029433e8ebe7f7a33618755a5ebc6426e332c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include "util.h"
int main(int argc, char *argv[]) {
gchar *s;
g_message("host name: %s", s = flx_get_host_name());
g_free(s);
g_message("%s", s = flx_normalize_name("foo.foo."));
g_free(s);
g_message("%s", s = flx_normalize_name("foo.foo."));
g_free(s);
g_message("%i", flx_domain_equal("\\aaa bbb\\.cccc\\\\.dee.fff.", "aaa\\ bbb\\.cccc\\\\.dee.fff"));
return 0;
}
|