-disable for now
[oweals/gnunet.git] / src / gns / gnocksy / gns_glue.h
1 /*
2  * Glue function to return the authoritative part
3  * of a name. i.e. the site of origin
4  *
5  * @param name the name to process
6  * @param auth pointer where the result is stored
7  * @return 0 on success < 0 on failure
8  */
9 int
10 gns_glue_get_auth ( char* name, char* auth );
11
12 /*
13  * Glue function to return the short version of
14  * a given name
15  *
16  * @param name the name to shorten
17  * @param shortened pointer where the result will be stored
18  * @return 0 on success < 0 on failure
19  */
20 int
21 gns_glue_shorten ( char* name, char* shortened);
22
23 /*
24  * Glue function to expand .+ urls and shorted the
25  * resulting name
26  *
27  * @param to_expand the .+ name to expand
28  * @param host the site of origin
29  * @param shortened the expanded and shortened result pointer
30  */
31 int
32 gns_glue_expand_and_shorten (char* to_expand,
33                              char* host,
34                              char* shortened);