obexd: Clean up header files

This commit is contained in:
Johan Hedberg 2011-09-02 14:40:24 +03:00 committed by Marcel Holtmann
parent 15f6d2e1f8
commit 2a14f573bd
13 changed files with 23 additions and 18 deletions

View File

@ -35,6 +35,7 @@
#include <glib.h>
#include <gdbus.h>
#include "obexd.h"
#include "plugin.h"
#include "server.h"
#include "obex.h"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -30,6 +30,7 @@
#include <openobex/obex.h>
#include <fcntl.h>
#include "obexd.h"
#include "plugin.h"
#include "log.h"
#include "obex.h"

View File

@ -34,6 +34,7 @@
#include <glib.h>
#include "obexd.h"
#include "plugin.h"
#include "obex.h"
#include "service.h"

View File

@ -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"

View File

@ -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"

View File

@ -41,6 +41,7 @@
#include <glib.h>
#include <gdbus.h>
#include "obexd.h"
#include "plugin.h"
#include "server.h"
#include "obex.h"

View File

@ -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"

View File

@ -42,6 +42,7 @@
#include <openobex/obex.h>
#include "obexd.h"
#include "log.h"
#include "obex.h"
#include "obex-priv.h"

View File

@ -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);

View File

@ -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);