connections.h

Go to the documentation of this file.
00001 #ifndef __CONNECTIONS_H__
00002 #define __CONNECTIONS_H__
00003 
00004 /**
00005  * File Name  : connections.h
00006  *
00007  * Description: The functions for network connectivity
00008  */
00009 
00010 /*
00011  * This file is part of sysd.
00012  *
00013  * sysd is free software: you can redistribute it and/or modify
00014  * it under the terms of the GNU General Public License as published by
00015  * the Free Software Foundation, either version 2 of the License, or
00016  * (at your option) any later version.
00017  *
00018  * sysd is distributed in the hope that it will be useful,
00019  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00020  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00021  * GNU General Public License for more details.
00022  *
00023  * You should have received a copy of the GNU General Public License
00024  * along with this program. If not, see <http://www.gnu.org/licenses/>.
00025  */
00026 
00027 /**
00028  * Copyright (C) 2009 iRex Technologies B.V.
00029  * All rights reserved.
00030  */
00031 
00032 #include <liberipc/eripc.h>
00033 
00034 G_BEGIN_DECLS
00035 
00036 gboolean    conn_add_profile    (const char *medium);
00037 gboolean    conn_edit_profile   (const char *medium, const char *profile);
00038 
00039 gboolean    conn_connect        (const char *ipc_service, const char *medium, const char *profile);
00040 gboolean    conn_disconnect     (const char *ipc_service);
00041 gboolean    conn_set_status     (gboolean is_connected, const char *medium, const char *profile, const char *reason);
00042 gboolean    conn_status_request (const char *ipc_service);
00043 
00044 void        conn_on_statusitem_activated (void);
00045 void        conn_set_flightmode (gboolean is_enabled);
00046 void        conn_update_statusbar(void);
00047 void        conn_check_battery(gint level);
00048 void        conn_set_initialising(gboolean is_init);
00049 void        conn_on_enter_standby(void);
00050 void        conn_on_leave_standby(void);
00051 
00052 void        conn_stop(void);
00053 gboolean    conn_is_stopped(void);
00054 gboolean    conn_is_online(void);
00055 gboolean    conn_is_initialising(void);
00056 
00057 G_END_DECLS
00058 
00059 #endif /* __CONNECTIONS_H__ */
00060 
Generated by  doxygen 1.6.2-20100208