summaryrefslogtreecommitdiffstats
path: root/gatchat/gatppp.h
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-04-13 14:14:23 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-04-13 14:21:16 -0500
commite21bb72df0cebd0c8b340d46a5f13f4deda33cea (patch)
treebe7c34ea3dba1c7e0369b12f28005a38ba160773 /gatchat/gatppp.h
parentfed99b926553bfec68afa65663e4148172eb12ec (diff)
downloadofono-e21bb72df0cebd0c8b340d46a5f13f4deda33cea.tar.bz2
ppp: Add set / get password & username
Also refactor the set credentials function, we will be removing the auth object shortly
Diffstat (limited to 'gatchat/gatppp.h')
-rw-r--r--gatchat/gatppp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gatchat/gatppp.h b/gatchat/gatppp.h
index 5f6a04d0..dda8e88b 100644
--- a/gatchat/gatppp.h
+++ b/gatchat/gatppp.h
@@ -53,8 +53,11 @@ void g_at_ppp_set_recording(GAtPPP *ppp, const char *filename);
void g_at_ppp_shutdown(GAtPPP *ppp);
void g_at_ppp_ref(GAtPPP *ppp);
void g_at_ppp_unref(GAtPPP *ppp);
-void g_at_ppp_set_credentials(GAtPPP *ppp, const char *username,
+
+gboolean g_at_ppp_set_credentials(GAtPPP *ppp, const char *username,
const char *passwd);
+const char *g_at_ppp_get_username(GAtPPP *ppp);
+const char *g_at_ppp_get_password(GAtPPP *ppp);
#ifdef __cplusplus
}