ble_gatt_client
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
timeout-glib.c File Reference
#include "timeout.h"
#include <glib.h>

Go to the source code of this file.

Data Structures

struct  timeout_data
 

Functions

static gboolean timeout_callback (gpointer user_data)
 
static void timeout_destroy (gpointer user_data)
 
unsigned int timeout_add (unsigned int timeout, timeout_func_t func, void *user_data, timeout_destroy_func_t destroy)
 
void timeout_remove (unsigned int id)
 

Detailed Description

Author
Gilbert Brault

Definition in file timeout-glib.c.

Function Documentation

unsigned int timeout_add ( unsigned int  timeout,
timeout_func_t  func,
void *  user_data,
timeout_destroy_func_t  destroy 
)
static gboolean timeout_callback ( gpointer  user_data)
static

Definition at line 38 of file timeout-glib.c.

References timeout_data::func, and timeout_data::user_data.

Referenced by timeout_add().

static void timeout_destroy ( gpointer  user_data)
static

Definition at line 48 of file timeout-glib.c.

References timeout_data::destroy, and timeout_data::user_data.

Referenced by timeout_add().

void timeout_remove ( unsigned int  id)

Definition at line 80 of file timeout-glib.c.

Referenced by destroy_att_send_op(), pending_read_result(), and pending_write_result().