Several demo of learning GDBus
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

22 lines
619 B

#ifndef _SERVER_H_
#define _SERVER_H_
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdbool.h>
#include <gio/gio.h>
#include <glib.h>
#include "gdbus_demo_gen.h"
static GMainLoop *main_loop = NULL;
static ComGdbusDemo *skeleton = NULL;
void init_dbus_server();
static void* start_main_loop(void*);
static gboolean send_signal(gconstpointer);
static void gdbus_acquired_callback(GDBusConnection*, const gchar*, gpointer);
static void gdbus_name_acquired_callback(GDBusConnection*, const gchar*, gpointer);
static void gdbus_name_lost_callback(GDBusConnection*, const gchar*, gpointer);
#endif