Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Data Structures | Macros | Typedefs | Enumerations
target.h File Reference
#include <time.h>
#include <unistd.h>
Include dependency graph for target.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rw_rlimit
 
struct  target_opts
 
struct  target_status
 

Macros

#define RLIM_INFINITY   -1
 
#define RLIM_SAVED_CUR   RLIM_INFINITY
 
#define RLIM_SAVED_MAX   RLIM_INFINITY
 

Typedefs

typedef unsigned long rw_rlim_t
 
typedef struct rw_rlimit rw_rlimit
 

Enumerations

enum  ProcessStatus {
  ST_OK = 0 , ST_COMPILE , ST_LINK , ST_EXIST ,
  ST_EXECUTE_FLAG , ST_EXECUTE , ST_NO_OUTPUT , ST_NO_REF ,
  ST_BAD_REF , ST_BAD_OUTPUT , ST_FORMAT , ST_OVERFLOW ,
  ST_SYSTEM_ERROR , ST_KILLED , ST_NOT_KILLED , ST_LAST
}
 

Macro Definition Documentation

◆ RLIM_INFINITY

#define RLIM_INFINITY   -1

Definition at line 61 of file target.h.

◆ RLIM_SAVED_CUR

#define RLIM_SAVED_CUR   RLIM_INFINITY

Definition at line 65 of file target.h.

◆ RLIM_SAVED_MAX

#define RLIM_SAVED_MAX   RLIM_INFINITY

Definition at line 69 of file target.h.

Typedef Documentation

◆ rw_rlim_t

typedef unsigned long rw_rlim_t

target.h - Struct definitions for target execution and results.

$Id$

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Placeholder rlim_t for use in rw_rlimit

Definition at line 46 of file target.h.

◆ rw_rlimit

typedef struct rw_rlimit rw_rlimit

Abstraction typedef for struct rlimit using placeholder struct

Definition at line 57 of file target.h.

Enumeration Type Documentation

◆ ProcessStatus

Status codes to denote result of analysis.

Enumerator
ST_OK 

Default (OK) status

ST_COMPILE 

Target failed to compile

ST_LINK 

Target failed to link

ST_EXIST 

Target doesn't exist?

ST_EXECUTE_FLAG 

Target lacks X flag

ST_EXECUTE 

Target failed to execute?

ST_NO_OUTPUT 

Target produced no output

ST_NO_REF 

No reference file found

ST_BAD_REF 

Invalid reference file found

ST_BAD_OUTPUT 

Incorrect output found

ST_FORMAT 

Incorrectly formatted (test) output found

ST_OVERFLOW 

Assertion counter overflow

ST_SYSTEM_ERROR 

System error during file system operation

ST_KILLED 

Target killed by exec utility

ST_NOT_KILLED 
ST_LAST 

Target not killed by exec utility Array terminator

Definition at line 97 of file target.h.