~ubuntu-branches/ubuntu/lucid/php5/lucid

« back to all changes in this revision

Viewing changes to ext/fileinfo/libmagic/file.h

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-03-16 09:09:50 UTC
  • mfrom: (1.1.18 upstream) (0.3.10 sid)
  • Revision ID: james.westby@ubuntu.com-20100316090950-e36m0pzranoixifd
Tags: 5.3.2-1ubuntu1
* Merge from debian unstable: 
  - debian/control:
    * Dropped firebird2.1-dev, libc-client-dev, libmcrypt-dev as it is in universe.
    * Dropped libmysqlclient15-dev, build against mysql 5.1.
    * Dropped libcurl-dev not in the archive.
    * Suggest php5-suhosin rather than recommends.
    * Dropped php5-imap, php5-interbase, php5-mcrypt since we have versions already in
      universe.
    * Dropped libonig-dev and libqgdbm since its in universe. (will be re-added in lucid+1)
    * Dropped locales-all.
  - modulelist: Drop imap, interbase, and mcrypt.
  - debian/rules:
    * Dropped building of mcrypt, imap, and interbase.
    * Install apport hook for php5.
  - Dropped debian/patches/libedit_is_editline.patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * Copyright (c) Ian F. Darwin 1986-1995.
3
3
 * Software written by Ian F. Darwin and others;
4
4
 * maintained 1995-present by Christos Zoulas and others.
5
 
 * 
 
5
 *
6
6
 * Redistribution and use in source and binary forms, with or without
7
7
 * modification, are permitted provided that the following conditions
8
8
 * are met:
12
12
 * 2. Redistributions in binary form must reproduce the above copyright
13
13
 *    notice, this list of conditions and the following disclaimer in the
14
14
 *    documentation and/or other materials provided with the distribution.
15
 
 *  
 
15
 *
16
16
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17
17
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18
18
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
27
27
 */
28
28
/*
29
29
 * file.h - definitions for file(1) program
30
 
 * @(#)$File: file.h,v 1.103 2008/03/01 22:21:49 rrt Exp $
 
30
 * @(#)$File: file.h,v 1.119 2009/02/04 18:24:32 christos Exp $
31
31
 */
32
32
 
33
33
#ifndef __file_h__
138
138
#define UNSIGNED        0x08    /* comparison is unsigned */
139
139
#define NOSPACE         0x10    /* suppress space character before output */
140
140
#define BINTEST         0x20    /* test is for a binary type (set only
141
 
                                   for top-level tests) */
 
141
                                   for top-level tests) */
142
142
#define TEXTTEST        0       /* for passing to file_softmagic */
143
143
 
144
144
        uint8_t factor;
216
216
#else
217
217
        uint8_t dummy;  
218
218
#endif
219
 
        uint8_t factor_op;      
 
219
        uint8_t factor_op;
220
220
#define         FILE_FACTOR_OP_PLUS     '+'
221
221
#define         FILE_FACTOR_OP_MINUS    '-'
222
222
#define         FILE_FACTOR_OP_TIMES    '*'
264
264
#define str_range _u._s._count
265
265
#define str_flags _u._s._flags
266
266
        /* Words 9-16 */
267
 
        union VALUETYPE value; /* either number of string */
 
267
        union VALUETYPE value;  /* either number or string */
268
268
        /* Words 17-24 */
269
269
        char desc[MAXDESC];     /* description */
270
270
        /* Words 25-32 */
312
312
        int last_cond;  /* used for error checking by parse() */
313
313
#endif
314
314
};
315
 
 
316
315
struct magic_set {
317
316
        struct mlist *mlist;
318
317
        struct cont {