/usr/include/obexftp/object.h is in libobexftp0-dev 0.23-1build3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | /**
\file obexftp/object.h
Collection of functions to build common OBEX request objects.
ObexFTP library - language bindings for OBEX file transfer.
Copyright (c) 2002 Christian W. Zuckschwerdt <zany@triq.net>
ObexFTP is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2 of
the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with ObexFTP. If not, see <http://www.gnu.org/>.
*/
#ifndef OBEXFTP_OBJECT_H
#define OBEXFTP_OBJECT_H
#include <inttypes.h>
#include <openobex/obex.h>
#ifdef __cplusplus
extern "C" {
#endif
/** Telecom/IrMC Synchronization Service: Name Prefix. */
#define IRMC_NAME_PREFIX "telecom/"
/** Telecom/IrMC Synchronization Service: Object Profile file-type. */
#define XOBEX_PROFILE "x-obex/object-profile"
/** Telecom/IrMC Synchronization Service: Capability file-type. */
#define XOBEX_CAPABILITY "x-obex/capability"
/** Folder Browsing Service: Folder Listing file-type. */
#define XOBEX_LISTING "x-obex/folder-listing"
/** Siemens specific: app. param. for memory info.
* parameter 0x01: mem installed, 0x02: free mem */
#define APPARAM_INFO_CODE '2'
/*@null@*/ obex_object_t *obexftp_build_info (obex_t obex, uint32_t conn, uint8_t opcode);
/*@null@*/ obex_object_t *obexftp_build_get (obex_t obex, uint32_t conn, const char *name, const char *type);
/*@null@*/ obex_object_t *obexftp_build_rename (obex_t obex, uint32_t conn, const char *from, const char *to);
/*@null@*/ obex_object_t *obexftp_build_del (obex_t obex, uint32_t conn, const char *name);
/*@null@*/ obex_object_t *obexftp_build_setpath (obex_t obex, uint32_t conn, const char *name, int create);
/*@null@*/ obex_object_t *obexftp_build_put (obex_t obex, uint32_t conn, const char *name, int size);
#ifdef __cplusplus
}
#endif
#endif /* OBEXFTP_OBJECT_H */
|