X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Futsname.h;h=b8165f68aaae0193dbe32665b2b0f69c1b4c70c7;hb=5479dad2b3b5f342f51ca6e7ec8a5a501820bd55;hp=6a1edc543d81f5a0a6412473178e20871291c6a1;hpb=d76088a3c6104f2569279086752a3f3cf1ea6adc;p=platform%2Fupstream%2Fconnman.git diff --git a/include/utsname.h b/include/utsname.h old mode 100644 new mode 100755 index 6a1edc5..b8165f6 --- a/include/utsname.h +++ b/include/utsname.h @@ -2,7 +2,7 @@ * * Connection Manager * - * Copyright (C) 2007-2010 Intel Corporation. All rights reserved. + * Copyright (C) 2007-2012 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -32,9 +32,12 @@ extern "C" { * @short_description: Functions for handling utsname */ +const char *connman_utsname_get_hostname(void); + struct connman_utsname_driver { const char *name; int priority; + const char * (*get_hostname) (void); int (*set_hostname) (const char *hostname); int (*set_domainname) (const char *domainname); };