File: hooks.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 (16 lines) | stat: -rw-r--r-- 506 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef REPREPRO_HOOKS_H
#define REPREPRO_HOOKS_H

#ifndef REPREPRO_ATOMS_H
#include "atoms.h"
#endif

/* the command currently processed (may not changed till all loggers are run) */
extern command_t causingcommand;
/* file causing the current actions (may change so may need to be saved for queued actions)*/
extern /*@null@*/ const char *causingfile;

/* for other hooks */
void sethookenvironment(/*@null@*/const char *, /*@null@*/const char *, /*@null@*/const char *, /*@null@*/const char *);

#endif