~ubuntu-branches/ubuntu/raring/reprepro/raring

« back to all changes in this revision

Viewing changes to changes.h

  • Committer: Bazaar Package Importer
  • Author(s): Bernhard R. Link
  • Date: 2011-05-05 16:34:23 UTC
  • mfrom: (21.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20110505163423-x49kbdijyoubai4x
Tags: 4.6.0-1
* new release
- general cleanup
- new FilterSrcList
* increase Standards-Version, no changes needed

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
#include "atoms.h"
6
6
#endif
7
7
 
8
 
typedef enum {
 
8
typedef enum {
9
9
        fe_UNKNOWN=0,
10
10
        fe_DEB, fe_UDEB,
11
11
        fe_DSC, fe_DIFF, fe_ORIG, fe_TAR,
12
12
        fe_BYHAND, fe_LOG, fe_CHANGES
13
13
} filetype;
14
14
 
15
 
#define FE_PACKAGE(ft) ( (ft) == fe_DEB || (ft) == fe_UDEB || (ft) == fe_DSC )
16
 
#define FE_BINARY(ft) ( (ft) == fe_DEB || (ft) == fe_UDEB )
17
 
#define FE_SOURCE(ft) ( (ft) == fe_DIFF || (ft) == fe_ORIG || (ft) == fe_TAR || (ft) == fe_DSC || (ft) == fe_UNKNOWN)
 
15
#define FE_PACKAGE(ft) ((ft) == fe_DEB || (ft) == fe_UDEB || (ft) == fe_DSC)
 
16
#define FE_BINARY(ft) ((ft) == fe_DEB || (ft) == fe_UDEB)
 
17
#define FE_SOURCE(ft) ((ft) == fe_DIFF || (ft) == fe_ORIG || (ft) == fe_TAR || (ft) == fe_DSC || (ft) == fe_UNKNOWN)
18
18
 
19
19
struct hash_data;
20
 
retvalue changes_parsefileline(const char *fileline, /*@out@*/filetype *result_type, /*@out@*/char **result_basename, /*@out@*/struct hash_data *, /*@out@*/struct hash_data *, /*@out@*/char **result_section, /*@out@*/char **result_priority, /*@out@*/architecture_t *, /*@out@*/char **result_name);
 
20
retvalue changes_parsefileline(const char * /*fileline*/, /*@out@*/filetype *, /*@out@*/char ** /*result_basename*/, /*@out@*/struct hash_data *, /*@out@*/struct hash_data *, /*@out@*/char ** /*result_section*/, /*@out@*/char ** /*result_priority*/, /*@out@*/architecture_t *, /*@out@*/char ** /*result_name*/);
21
21
#endif