Bump version to 6.4-15
[LibreOffice.git] / desktop / unx / source / file_image.h
blob60fdc8e96a1692067e70dd77c24d59e2cbec20ac
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef INCLUDED_DESKTOP_UNX_SOURCE_FILE_IMAGE_H
21 #define INCLUDED_DESKTOP_UNX_SOURCE_FILE_IMAGE_H
23 #ifndef INCLUDED_STDDEF_H
24 #include <stddef.h>
25 #define INCLUDED_STDDEF_H
26 #endif
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
32 /** file_image.
34 struct file_image_st
36 void * m_base;
37 size_t m_size;
40 typedef struct file_image_st file_image;
42 #define FILE_IMAGE_INITIALIZER { NULL, 0 }
45 /** file_image_open.
47 int file_image_open (
48 file_image * image,
49 const char * filename);
52 /** file_image_pagein.
54 int file_image_pagein (
55 file_image * image);
58 /** file_image_close.
60 int file_image_close (
61 file_image * image);
64 /** Epilog.
66 #ifdef __cplusplus
68 #endif
70 #endif /* INCLUDED_ODEP_IMAGE_H */
72 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */