iPXE
monojob.h
Go to the documentation of this file.
1 #ifndef _IPXE_MONOJOB_H
2 #define _IPXE_MONOJOB_H
3 
4 /** @file
5  *
6  * Single foreground job
7  *
8  */
9 
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11 
12 struct interface;
13 
14 extern struct interface monojob;
15 
16 extern int monojob_wait ( const char *string, unsigned long timeout );
17 
18 #endif /* _IPXE_MONOJOB_H */
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
An object interface.
Definition: interface.h:124
int monojob_wait(const char *string, unsigned long timeout)
Wait for single foreground job to complete.
Definition: monojob.c:81
void timeout(int)
struct interface monojob
Definition: monojob.c:56