HEX
Server: nginx/1.18.0
System: Linux mail.dakarash.co.id 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64
User: www-data (33)
PHP: 8.1.2-1ubuntu2.23
Disabled: NONE
Upload Files
File: /home/django/libpff/libfmapi/libfmapi_definitions.h~
/*
 * The internal definitions
 *
 * Copyright (C) 2009-2024, Joachim Metz <joachim.metz@gmail.com>
 *
 * Refer to AUTHORS for acknowledgements.
 *
 * This program 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 3 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 General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */

#if !defined( LIBFMAPI_INTERNAL_DEFINITIONS_H )
#define LIBFMAPI_INTERNAL_DEFINITIONS_H

#include <common.h>
#include <types.h>

/* Define HAVE_LOCAL_LIBFMAPI for local use of libfmapi
 */
#if !defined( HAVE_LOCAL_LIBFMAPI )
#include <libfmapi/definitions.h>

/* The definitions in <libfmapi/definitions.h> are copied here
 * for local use of libfmapi
 */
#else
#include <byte_stream.h>

#define LIBFMAPI_VERSION					@VERSION@

/* The libfmapi version string
 */
#define LIBFMAPI_VERSION_STRING					"@VERSION@"

/* The endian definitions
 */
#define LIBFMAPI_ENDIAN_BIG					_BYTE_STREAM_ENDIAN_BIG
#define LIBFMAPI_ENDIAN_LITTLE					_BYTE_STREAM_ENDIAN_LITTLE

enum LIBFMAPI_ENTRY_IDENTIFIER_FLAGS
{
	LIBFMAPI_ENTRY_IDENTIFIER_FLAG_MAPI_NOTRESERVED		= 0x08,
	LIBFMAPI_ENTRY_IDENTIFIER_FLAG_MAPI_NOW			= 0x10,
	LIBFMAPI_ENTRY_IDENTIFIER_FLAG_MAPI_THISSESSION		= 0x20,
	LIBFMAPI_ENTRY_IDENTIFIER_FLAG_MAPI_NOTRECIP		= 0x40,
	LIBFMAPI_ENTRY_IDENTIFIER_FLAG_MAPI_SHORTTERM		= 0x80
};

#define LIBFMAPI_ENTRY_IDENTIFIER_FLAG_MAPI_COMPOUND		0x80

enum LIBFMAPI_ONE_OFF_ENTRY_IDENTIFIER_FLAGS
{
	LIBFMAPI_ONE_OFF_ENTRY_IDENTIFIER_FLAG_NO_RICH_INFO	= 0x0001,

	LIBFMAPI_ONE_OFF_ENTRY_IDENTIFIER_FLAG_0x1000		= 0x1000,

	LIBFMAPI_ONE_OFF_ENTRY_IDENTIFIER_FLAG_UNICODE		= 0x8000
};

#endif /* !defined( HAVE_LOCAL_LIBFMAPI ) */

#endif /* !defined( LIBFMAPI_INTERNAL_DEFINITIONS_H ) */