File: joberr.h

package info (click to toggle)
fis-gtm 6.2-000-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 30,784 kB
  • ctags: 42,554
  • sloc: ansic: 358,483; asm: 4,847; csh: 4,574; sh: 2,261; awk: 200; makefile: 86; sed: 13
file content (53 lines) | stat: -rw-r--r-- 2,374 bytes parent folder | download
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/****************************************************************
 *								*
 *	Copyright 2001, 2013 Fidelity Information Services, Inc	*
 *								*
 *	This source code contains the intellectual property	*
 *	of its copyright holder(s), and is made available	*
 *	under a license.  If you do not know the terms of	*
 *	the license, please stop and do not read further.	*
 *								*
 ****************************************************************/

typedef struct joberr_msg_struct{
char		*msg;
int		len;
}joberr_msg;

/*
 * The follwoing array is index by values from the enum joberr_t from jobsp.h.
 */
LITDEF joberr_msg joberrs[] = {
	"", 0,
	LIT_AND_LEN("Job error in child process"),
	LIT_AND_LEN("Job error in opening STDIN"),
	LIT_AND_LEN("Job error in directing input to STDIN"),
	LIT_AND_LEN("Job error in creating STDOUT"),
	LIT_AND_LEN("Job error in opening STDOUT"),
	LIT_AND_LEN("Job error in directing output to STDOUT"),
	LIT_AND_LEN("Job error in creating STDERR"),
	LIT_AND_LEN("Job error in opening STDERR"),
	LIT_AND_LEN("Job error in directing output to STDERR"),
	LIT_AND_LEN("Job error in directory specification"),
	LIT_AND_LEN("Job error - CHDIR error"),
	LIT_AND_LEN("Job error in routine specification. Label and offset not found in created process"),
	LIT_AND_LEN("Job error in setting independent session"),
	LIT_AND_LEN("Job error in socketpair"),
	LIT_AND_LEN("Job error in fork"),
	LIT_AND_LEN("Job error in renaming standard output file"),
	LIT_AND_LEN("Job error in renaming standard error file"),
	LIT_AND_LEN("Job error in middle process to parent process pipe communication"),
	LIT_AND_LEN("Job error in middle process to grandchild process pipe communication"),
	LIT_AND_LEN("Job error - INPUT socket not found in socket pool"),
	LIT_AND_LEN("Job error - OUTPUT socket not found in socket pool"),
	LIT_AND_LEN("Job error - ERROR socket not found in socket pool"),
	LIT_AND_LEN("Job error in copying INPUT socket descriptor"),
	LIT_AND_LEN("Job error in copying OUTPUT socket descriptor"),
	LIT_AND_LEN("Job error in copying ERROR socket descriptor"),
	LIT_AND_LEN("Job error sending setup command"),
	LIT_AND_LEN("Job error sending setup data"),
	LIT_AND_LEN("Job child was stopped by signal"),
	LIT_AND_LEN("Job child terminated due to signal"),
	LIT_AND_LEN("") 	/* this is used internally to determine try-again situations */
};