mirror of https://github.com/labapart/gattlib
commit
15ab7a84d2
|
@ -24,6 +24,10 @@
|
||||||
#ifndef __GATTLIB_H__
|
#ifndef __GATTLIB_H__
|
||||||
#define __GATTLIB_H__
|
#define __GATTLIB_H__
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
@ -125,4 +129,8 @@ int gattlib_uuid_to_string(const uuid_t *uuid, char *str, size_t n);
|
||||||
int gattlib_string_to_uuid(const char *str, size_t n, uuid_t *uuid);
|
int gattlib_string_to_uuid(const char *str, size_t n, uuid_t *uuid);
|
||||||
int gattlib_uuid_cmp(const uuid_t *uuid1, const uuid_t *uuid2);
|
int gattlib_uuid_cmp(const uuid_t *uuid1, const uuid_t *uuid2);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue