File: get.h

package info (click to toggle)
sn 0.3.8-10
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 924 kB
  • ctags: 852
  • sloc: ansic: 9,262; sh: 466; makefile: 208
file content (36 lines) | stat: -rw-r--r-- 726 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
 * This file is part of the sn package.
 * Distribution of sn is covered by the GNU GPL. See file COPYING.
 * Copyright  1998-2000 Harold Tay.
 * Copyright  2000- Patrik Rdman.
 */

#ifndef GET_H
#define GET_H

#define MAX_CONCURRENCY 8

extern char *optdebug;
extern char *optpipelining;
extern char *optmax;
extern bool optlogpid;
extern bool optnocache;
extern int throttlerate;
extern int concurrency;

#include <sys/types.h>

extern int throttle_setfds (fd_set * rs);
extern void throttle (fd_set * rs);
extern int reap (void);
extern int sow (void);

extern bool sigchld;
extern bool sigusr;

extern void init (void);
extern int add (char *group);
extern int jobs_not_done (void);
extern void quit (void);

#endif