~ubuntu-branches/ubuntu/feisty/icoutils/feisty

« back to all changes in this revision

Viewing changes to wrestool/wrestool.h

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2005-05-26 15:15:36 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050526151536-uzg8vlhedkx1nwcx
Tags: 0.25.0-1
* New upstream release.
  - 'make distclean' fixed; revert workarounds.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* icoutils - A set of programs dealing with MS Windows icons and cursors.
2
 
 * Copyright (C) 1998-1999 Oskar Liljeblad
 
1
/* wrestool.h - Common definitions for wrestool
 
2
 *
 
3
 * Copyright (C) 1998-2005 Oskar Liljeblad
3
4
 *
4
5
 * This program is free software; you can redistribute it and/or modify
5
6
 * it under the terms of the GNU General Public License as published by
16
17
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
17
18
 */
18
19
 
19
 
#include <features.h>
20
 
#include <unistd.h>
21
 
#include <stdarg.h>
22
 
#include <stdio.h>
23
 
#include <stdlib.h>
24
 
#include <stdint.h>
25
 
#include <string.h>
26
 
#include <errno.h>
27
 
#include <getopt.h>
 
20
#ifndef WRESTOOL_H
 
21
#define WRESTOOL_H
 
22
 
 
23
#include <unistd.h>             /* POSIX */
 
24
#include <stdarg.h>             /* C89 */
 
25
#include <stdio.h>              /* C89 */
 
26
#include <stdlib.h>             /* C89 */
 
27
#include <stdint.h>             /* POSIX/Gnulib */
 
28
#include <string.h>             /* C89 */
 
29
#include <errno.h>              /* C89 */
 
30
#include <getopt.h>             /* GNU Libc/Gnulib */
28
31
#include "common/common.h"
29
32
//#include "../common/win32.h"
30
33
//#include "../common/fileread.h"
87
90
 */
88
91
 
89
92
/* resource.c */
90
 
WinResource *list_resources (WinLibrary *, WinResource *, int *);
 
93
/* WinResource *list_resources (WinLibrary *, WinResource *, int *); */
91
94
bool read_library (WinLibrary *);
92
95
WinResource *find_resource (WinLibrary *, char *, char *, char *, int *);
93
96
void *get_resource_entry (WinLibrary *, WinResource *, int *);
94
97
void do_resources (WinLibrary *, char *, char *, char *, DoResourceCallback);
95
98
void print_resources_callback (WinLibrary *, WinResource *, WinResource *, WinResource *, WinResource *);
96
 
bool compare_resource_id (WinResource *, char *);
 
99
/* bool compare_resource_id (WinResource *, char *); */
97
100
 
98
101
/* main.c */
99
102
char *res_type_id_to_string (int);
102
105
/* extract.c */
103
106
void *extract_resource (WinLibrary *, WinResource *, int *, bool *, char *, char *, bool);
104
107
void extract_resources_callback (WinLibrary *, WinResource *, WinResource *, WinResource *, WinResource *);
 
108
 
 
109
#endif