~ubuntu-branches/ubuntu/natty/indicator-network/natty

« back to all changes in this revision

Viewing changes to src/libconnman/connman-service.h

  • Committer: Bazaar Package Importer
  • Author(s): Ken VanDine
  • Date: 2011-02-17 09:52:27 UTC
  • mfrom: (1.1.14 upstream)
  • Revision ID: james.westby@ubuntu.com-20110217095227-51g86k2i6wrtjehc
Tags: 0.3.4-0ubuntu1
* New upstream release
  - Updated to support connman 0.69
* debian/control
  - Depend on connman >= 0.69
  - Added build depends for libreadline-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef _CONNMAN_SERVICE_H_
22
22
#define _CONNMAN_SERVICE_H_
23
23
 
 
24
#include "connman-ipv4.h"
 
25
 
24
26
#include <glib-object.h>
25
27
#include <gio/gio.h>
26
28
 
66
68
} ConnmanServiceState;
67
69
 
68
70
typedef enum {
 
71
  CONNMAN_SERVICE_SECURITY_UNKNOWN,
69
72
  CONNMAN_SERVICE_SECURITY_NONE,
70
73
  CONNMAN_SERVICE_SECURITY_WEP,
71
74
  CONNMAN_SERVICE_SECURITY_PSK,
88
91
 
89
92
GType connman_service_get_type(void);
90
93
 
 
94
/* property accessors */
91
95
ConnmanServiceState connman_service_get_state(ConnmanService *self);
92
96
const gchar *connman_service_get_error(ConnmanService *self);
93
97
const gchar *connman_service_get_name(ConnmanService *self);
94
98
ConnmanServiceType connman_service_get_service_type(ConnmanService *self);
95
99
ConnmanServiceSecurity connman_service_get_security(ConnmanService *self);
 
100
gboolean connman_service_get_login_required(ConnmanService *self);
 
101
const gchar *connman_service_get_passphrase(ConnmanService *self);
 
102
void connman_service_set_passphrase(ConnmanService *self,
 
103
                                    const gchar *passphrase);
 
104
gboolean connman_service_get_passphrase_required(ConnmanService *self);
96
105
guint8 connman_service_get_strength(ConnmanService *self);
97
 
gboolean connman_service_is_setup_required(ConnmanService *self);
 
106
gboolean connman_service_get_favorite(ConnmanService *self);
 
107
gboolean connman_service_get_immutable(ConnmanService *self);
 
108
gboolean connman_service_get_autoconnect(ConnmanService *self);
 
109
void connman_service_set_autoconnect(ConnmanService *self,
 
110
                                     gboolean autoconnect);
 
111
gboolean connman_service_get_setup_required(ConnmanService *self);
 
112
const gchar *connman_service_get_apn(ConnmanService *self);
 
113
void connman_service_set_apn(ConnmanService *self, const gchar *apn);
 
114
const gchar *connman_service_get_mcc(ConnmanService *self);
 
115
const gchar *connman_service_get_mnc(ConnmanService *self);
 
116
gboolean connman_service_get_roaming(ConnmanService *self);
 
117
gchar **connman_service_get_nameservers(ConnmanService *self);
 
118
gchar **connman_service_get_nameservers_configuration(ConnmanService *self);
 
119
void connman_service_set_nameservers_configuration(ConnmanService *self,
 
120
                                                   gchar **nameservers);
 
121
gchar **connman_service_get_domains(ConnmanService *self);
 
122
gchar **connman_service_get_domains_configuration(ConnmanService *self);
 
123
void connman_service_set_domains_configuration(ConnmanService *self,
 
124
                                               gchar **domains);
 
125
ConnmanIPv4 *connman_service_get_ipv4(ConnmanService *self);
 
126
ConnmanIPv4 *connman_service_get_ipv4_configuration(ConnmanService *self);
 
127
void connman_service_set_ipv4_configuration(ConnmanService *self,
 
128
                                            ConnmanIPv4 *ipv4);
98
129
 
 
130
/* methods */
99
131
void connman_service_connect(ConnmanService *self,
100
132
                             GAsyncReadyCallback callback,
101
133
                             gpointer user_data);