X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=plugins%2Finet.h;h=af5799be05c7a00d3f3391a5ae94481863be9a3c;hb=6f24662363c391c653d4a90518b0ff664f3ae5c4;hp=aafd55b3f176d9cef0e4d90cb58441aa72fcbd0c;hpb=135f8ccd37f76068bc75e21f23fb68e74be57c0e;p=connman diff --git a/plugins/inet.h b/plugins/inet.h index aafd55b..af5799b 100644 --- a/plugins/inet.h +++ b/plugins/inet.h @@ -2,7 +2,7 @@ * * Connection Manager * - * Copyright (C) 2007-2008 Intel Corporation. All rights reserved. + * Copyright (C) 2007-2009 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 @@ -19,4 +19,10 @@ * */ +int inet_name2index(const char *name); + char *inet_index2name(int index); +char *inet_index2ident(int index, const char *prefix); + +int inet_ifup(int index); +int inet_ifdown(int index);