/usr/include/tilp2/files8x.h is in libtifiles-dev 1.1.2-0ubuntu2.
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 59 60 61 62 63 64 65 | /* Hey EMACS -*- linux-c -*- */
/* $Id: files8x.h 3968 2007-11-01 20:14:10Z roms $ */
/* libtifiles - file format library, a part of the TiLP project
* Copyright (C) 1999-2005 Romain Lievin
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef __TIFILES_FILES_8X_H__
#define __TIFILES_FILES_8X_H__
#include "stdints2.h"
#include "tifiles.h"
/* Structures */
typedef FileContent Ti8xRegular;
typedef BackupContent Ti8xBackup;
typedef FlashContent Ti8xFlash;
typedef FlashPage Ti8xFlashPage;
/* Functions */
// allocating
Ti8xRegular* ti8x_content_create_regular(void);
Ti8xBackup* ti8x_content_create_backup(void);
Ti8xFlash* ti8x_content_create_flash(void);
// freeing
void ti8x_content_free_regular(Ti8xRegular *content);
void ti8x_content_free_backup(Ti8xBackup *content);
void ti8x_content_free_flash(Ti8xFlash *content);
// displaying
int ti8x_content_display_regular(Ti8xRegular *content);
int ti8x_content_display_backup(Ti8xBackup *content);
int ti8x_content_display_flash(Ti8xFlash *content);
// reading
int ti8x_file_read_regular(const char *filename, Ti8xRegular *content);
int ti8x_file_read_backup(const char *filename, Ti8xBackup *content);
int ti8x_file_read_flash(const char *filename, Ti8xFlash *content);
// writing
int ti8x_file_write_regular(const char *filename, Ti8xRegular *content, char **filename2);
int ti8x_file_write_backup(const char *filename, Ti8xBackup *content);
int ti8x_file_write_flash(const char *filename, Ti8xFlash *content, char **filename2);
// displaying
int ti8x_file_display(const char *filename);
#endif
|