home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 February
/
CHIP_2_98.iso
/
misc
/
src
/
rpm
/
build
/
spec.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-09-17
|
472b
|
24 lines
/* RPM - Copyright (C) 1995 Red Hat Software
*
* spec.h - routines for parsing are looking up info in a spec file
*/
#ifndef _SPEC_H_
#define _SPEC_H_
#include <stdio.h>
typedef struct SpecRec *Spec;
Spec *parseSpec(FILE *f, char *specfile, char *buildRootOverride);
void freeSpec(Spec s);
void dumpSpec(Spec s, FILE *f);
char *getSource(Spec s, int ispatch, int num);
char *getFullSource(Spec s, int ispatch, int num);
int verifySpec(Spec s);
#endif _SPEC_H_