Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Implement a gras_os_myname. KISS and don't try a DNS resolver tonight. ie, don't...
[simgrid.git] / src / gras / Virtu / rl_dns.c
1 /* $Id$ */
2
3 /* rl_dns - name resolution (real life)                                     */
4
5 /* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved.            */
6
7 /* This program is free software; you can redistribute it and/or modify it
8  * under the terms of the license (GNU LGPL) which comes with this package. */
9
10 #include "gras/Virtu/virtu_rl.h"
11
12 /* A portable DNS resolver is a nightmare to do in a portable manner */
13
14 /* the ADNS library is a good candidate for inclusion in the source tree, but
15  * it would be a bit too much. We need a stripped down version of it, and it's
16  * a bit too late for this tonight.
17  * 
18  * Next time maybe ;)
19  */
20 const char *gras_os_myname(void) {
21
22    return "(unknown host)";
23 }
24