| 
    ProxyAuth
    
   Linux PAM to authenticate device via Bluetooth device 
   | 
 
#include "proxy_dbus.h"
Go to the source code of this file.
Functions | |
| void | terminate (struct dbus_obj *data_obj) | 
| void | on_signal (GDBusProxy *proxy, gchar *sender_name, gchar *signal_name, GVariant *parameters, gpointer user_data) | 
| struct dbus_obj * | set_lock_listener (struct server_data_t *server) | 
| void | check_lock_status (GMainContext *context) | 
| void check_lock_status | ( | GMainContext * | context | ) | 
Definition at line 78 of file proxy_dbus.c.
| void on_signal | ( | GDBusProxy * | proxy, | 
| gchar * | sender_name, | ||
| gchar * | signal_name, | ||
| GVariant * | parameters, | ||
| gpointer | user_data | ||
| ) | 
Terminate program if user is locked by actively "listening"/monitoring the changes in presence status
Signal Handler whenever the property of status changes
| proxy | |
| sender_name | |
| signal_name | |
| parameters | |
| user_data | a pointer to data that needs to be freed before terminating the program | 
Definition at line 20 of file proxy_dbus.c.

| struct dbus_obj* set_lock_listener | ( | struct server_data_t * | server | ) | 
Calls and sets all the necessary data to listen for the status of the user's session (i.e. is the session locked)
| server | a struct that contains the server and client's fd and the Bluetooth's SDP server object | 
NOTE: returns a reference to a struct dbus_obj that needs to be freed
Definition at line 38 of file proxy_dbus.c.

| void terminate | ( | struct dbus_obj * | data_obj | ) |