#include <errno.h>
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <glib.h>
#include <gio/gio.h>
#include <atalk/compat.h>
#include <atalk/errchk.h>
#include <atalk/logger.h>
#include <atalk/server_child.h>
#include "afpstats_obj.h"
Functions | |
static void | handle_method_call (GDBusConnection *connection _U_, const gchar *sender _U_, const gchar *object_path _U_, const gchar *interface_name _U_, const gchar *method_name, GVariant *parameters _U_, GDBusMethodInvocation *invocation, gpointer user_data) |
static void | on_bus_acquired (GDBusConnection *connection _U_, const gchar *name, gpointer user_data _U_) |
static void | on_name_acquired (GDBusConnection *connection _U_, const gchar *name, gpointer user_data _U_) |
static void | on_name_lost (GDBusConnection *connection _U_, const gchar *name, gpointer user_data _U_) |
static gpointer | afpstats_thread (gpointer _data _U_) |
static void | my_glib_log (const gchar *log_domain, GLogLevelFlags log_level _U_, const gchar *message, gpointer user_data _U_) |
server_child_t * | afpstats_get_and_lock_childs (void) |
void | afpstats_unlock_childs (void) |
int | afpstats_init (server_child_t *childs_in) |
Variables | |
static server_child_t * | childs |
static GDBusNodeInfo * | introspection_data = NULL |
static const GDBusInterfaceVTable | interface_vtable |
server_child_t * afpstats_get_and_lock_childs | ( | void | ) |
int afpstats_init | ( | server_child_t * | childs_in | ) |
|
static |
void afpstats_unlock_childs | ( | void | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |