File: sourceextraction.h

package info (click to toggle)
reprepro 5.4.8-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 3,700 kB
  • sloc: ansic: 53,795; python: 1,625; sh: 1,417; makefile: 120
file content (21 lines) | stat: -rw-r--r-- 723 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef REPREPRO_SOURCEEXTRACTION_H
#define REPREPRO_SOURCEEXTRACTION_H

struct sourceextraction;

/*@NULL@*/struct sourceextraction *sourceextraction_init(/*@null@*/char **section_p, /*@null@*/char **priority_p);

void sourceextraction_abort(/*@only@*/struct sourceextraction *);

/* register a file part of this source */
void sourceextraction_setpart(struct sourceextraction *, int , const char *);

/* return the next needed file */
bool sourceextraction_needs(struct sourceextraction *, /*@out@*/int *);

/* full file name of requested files ready to analyse */
retvalue sourceextraction_analyse(struct sourceextraction *, const char *);

retvalue sourceextraction_finish(/*@only@*/struct sourceextraction *);

#endif