mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-12-12 13:34:41 +08:00
obexd: Clean up header files
This commit is contained in:
parent
15f6d2e1f8
commit
2a14f573bd
@ -35,6 +35,7 @@
|
||||
#include <glib.h>
|
||||
#include <gdbus.h>
|
||||
|
||||
#include "obexd.h"
|
||||
#include "plugin.h"
|
||||
#include "server.h"
|
||||
#include "obex.h"
|
||||
|
@ -45,6 +45,7 @@
|
||||
#include <openobex/obex.h>
|
||||
#include <openobex/obex_const.h>
|
||||
|
||||
#include "obexd.h"
|
||||
#include "plugin.h"
|
||||
#include "log.h"
|
||||
#include "obex.h"
|
||||
|
@ -44,6 +44,7 @@
|
||||
#include <openobex/obex.h>
|
||||
#include <openobex/obex_const.h>
|
||||
|
||||
#include "obexd.h"
|
||||
#include "plugin.h"
|
||||
#include "log.h"
|
||||
#include "obex.h"
|
||||
|
@ -38,6 +38,7 @@
|
||||
#include <openobex/obex.h>
|
||||
#include <openobex/obex_const.h>
|
||||
|
||||
#include "obexd.h"
|
||||
#include "plugin.h"
|
||||
#include "log.h"
|
||||
#include "obex.h"
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include <openobex/obex.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#include "obexd.h"
|
||||
#include "plugin.h"
|
||||
#include "log.h"
|
||||
#include "obex.h"
|
||||
|
@ -34,6 +34,7 @@
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "obexd.h"
|
||||
#include "plugin.h"
|
||||
#include "obex.h"
|
||||
#include "service.h"
|
||||
|
@ -40,6 +40,7 @@
|
||||
#include <openobex/obex.h>
|
||||
#include <openobex/obex_const.h>
|
||||
|
||||
#include "obexd.h"
|
||||
#include "plugin.h"
|
||||
#include "log.h"
|
||||
#include "obex.h"
|
||||
|
@ -45,6 +45,7 @@
|
||||
#include <openobex/obex.h>
|
||||
#include <openobex/obex_const.h>
|
||||
|
||||
#include "obexd.h"
|
||||
#include "plugin.h"
|
||||
#include "log.h"
|
||||
#include "obex.h"
|
||||
|
@ -41,6 +41,7 @@
|
||||
#include <glib.h>
|
||||
#include <gdbus.h>
|
||||
|
||||
#include "obexd.h"
|
||||
#include "plugin.h"
|
||||
#include "server.h"
|
||||
#include "obex.h"
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <signal.h>
|
||||
#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
@ -42,15 +43,9 @@
|
||||
|
||||
#include <gdbus.h>
|
||||
|
||||
#include <openobex/obex.h>
|
||||
#include <openobex/obex_const.h>
|
||||
|
||||
#include "log.h"
|
||||
#include "obexd.h"
|
||||
#include "obex.h"
|
||||
#include "obex-priv.h"
|
||||
#include "server.h"
|
||||
#include "service.h"
|
||||
|
||||
#define DEFAULT_ROOT_PATH "/tmp"
|
||||
|
||||
|
@ -42,6 +42,7 @@
|
||||
|
||||
#include <openobex/obex.h>
|
||||
|
||||
#include "obexd.h"
|
||||
#include "log.h"
|
||||
#include "obex.h"
|
||||
#include "obex-priv.h"
|
||||
|
@ -29,15 +29,6 @@
|
||||
#define OBJECT_SIZE_UNKNOWN -1
|
||||
#define OBJECT_SIZE_DELETE -2
|
||||
|
||||
#define OBEX_OPP (1 << 1)
|
||||
#define OBEX_FTP (1 << 2)
|
||||
#define OBEX_BIP (1 << 3)
|
||||
#define OBEX_PBAP (1 << 4)
|
||||
#define OBEX_IRMC (1 << 5)
|
||||
#define OBEX_PCSUITE (1 << 6)
|
||||
#define OBEX_SYNCEVOLUTION (1 << 7)
|
||||
#define OBEX_MAS (1 << 8)
|
||||
|
||||
#define TARGET_SIZE 16
|
||||
|
||||
struct obex_session;
|
||||
@ -68,8 +59,5 @@ ssize_t obex_aparam_read(struct obex_session *os, obex_object_t *obj,
|
||||
int obex_aparam_write(struct obex_session *os, obex_object_t *obj,
|
||||
const uint8_t *buffer, unsigned int size);
|
||||
|
||||
const char *obex_option_root_folder(void);
|
||||
gboolean obex_option_symlinks(void);
|
||||
|
||||
/* Just a thin wrapper around memcmp to deal with NULL values */
|
||||
int memncmp0(const void *a, size_t na, const void *b, size_t nb);
|
||||
|
@ -21,8 +21,20 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#define OBEX_OPP (1 << 1)
|
||||
#define OBEX_FTP (1 << 2)
|
||||
#define OBEX_BIP (1 << 3)
|
||||
#define OBEX_PBAP (1 << 4)
|
||||
#define OBEX_IRMC (1 << 5)
|
||||
#define OBEX_PCSUITE (1 << 6)
|
||||
#define OBEX_SYNCEVOLUTION (1 << 7)
|
||||
#define OBEX_MAS (1 << 8)
|
||||
|
||||
gboolean plugin_init(const char *pattern, const char *exclude);
|
||||
void plugin_cleanup(void);
|
||||
|
||||
gboolean manager_init(void);
|
||||
void manager_cleanup(void);
|
||||
|
||||
const char *obex_option_root_folder(void);
|
||||
gboolean obex_option_symlinks(void);
|
||||
|
Loading…
Reference in New Issue
Block a user