ARPDAS_QNX6 1.0
Defines | Functions | Variables
nortlib.h File Reference
#include <stdio.h>
#include <sys/types.h>
Include dependency graph for nortlib.h:

Go to the source code of this file.

Defines

#define MSG_DEBUG   -2
#define MSG_EXIT   -1
#define MSG_EXIT_NORM   MSG_EXIT
#define MSG   0
#define MSG_PASS   MSG
#define MSG_WARN   1
#define MSG_FAIL   2
#define MSG_FATAL   3
#define MSG_EXIT_ABNORM   4
#define MSG_DBG(X)   (MSG_DEBUG-(X))
#define NLRSP_DIE   3
#define NLRSP_WARN   1
#define NLRSP_QUIET   0
#define new_memory(x)   nl_new_memory(x)
#define free_memory(x)   nl_free_memory(x)
#define nl_strdup(x)   nrtl_strdup(x)
#define OPTIND_RESET   0

Functions

int Skel_open (const char *name)
int Skel_copy (FILE *ofp, const char *label, int copyout)
int nl_err (int level, const char *s,...)
int set_response (int newval)
void * nl_new_memory (size_t size)
void nl_free_memory (void *p)
char * nrtl_strdup (const char *s)
const char * ascii_escape (const char *ibuf)

Variables

int(* nl_error )(int level, const char *s,...)
int nl_debug_level
int nl_response

Define Documentation

#define free_memory (   x)    nl_free_memory(x)

Definition at line 90 of file nortlib.h.

Referenced by dq_expire_check(), llos_deq(), and Ser_Sel::~Ser_Sel().

#define MSG   0

Definition at line 70 of file nortlib.h.

#define MSG_DBG (   X)    (MSG_DEBUG-(X))

Definition at line 76 of file nortlib.h.

#define MSG_DEBUG   -2

Definition at line 67 of file nortlib.h.

Referenced by Col_send().

#define MSG_EXIT   -1

Definition at line 68 of file nortlib.h.

#define MSG_EXIT_ABNORM   4

Definition at line 75 of file nortlib.h.

#define MSG_EXIT_NORM   MSG_EXIT

Definition at line 69 of file nortlib.h.

#define MSG_FAIL   2

Definition at line 73 of file nortlib.h.

#define MSG_FATAL   3

Definition at line 74 of file nortlib.h.

#define MSG_PASS   MSG

Definition at line 71 of file nortlib.h.

#define MSG_WARN   1

Definition at line 72 of file nortlib.h.

#define new_memory (   x)    nl_new_memory(x)

Definition at line 89 of file nortlib.h.

#define nl_strdup (   x)    nrtl_strdup(x)

Definition at line 91 of file nortlib.h.

Referenced by ci_server(), cis_setup_rdr(), llos_enq(), mlf_convert_fname(), and mlf_init().

#define NLRSP_DIE   3

Definition at line 81 of file nortlib.h.

#define NLRSP_QUIET   0

Definition at line 83 of file nortlib.h.

Referenced by cic_init().

#define NLRSP_WARN   1

Definition at line 82 of file nortlib.h.

Referenced by cic_init().

#define OPTIND_RESET   0

Function Documentation

const char* ascii_escape ( const char *  ibuf)

Definition at line 10 of file ascii_esc.c.

References ESC_BUF_SIZE.

Referenced by ascii_esc(), ascii_escape(), dequeue_request(), Ser_Sel::not_str(), process_response(), and Ser_Sel::report_err().

Here is the caller graph for this function:

int nl_err ( int  level,
const char *  s,
  ... 
)

Definition at line 10 of file nl_error.c.

References nl_verror().

Here is the call graph for this function:

void nl_free_memory ( void *  p)

Definition at line 20 of file newmem.c.

Referenced by cis_shutdown_rdr(), and Col_send_reset().

Here is the caller graph for this function:

void* nl_new_memory ( size_t  size)

Referenced by Col_send_init().

Here is the caller graph for this function:

char* nrtl_strdup ( const char *  s)

Definition at line 16 of file strdup.c.

References new_memory().

Here is the call graph for this function:

int set_response ( int  newval)

Definition at line 20 of file nlresp.c.

References nl_response.

Referenced by cic_init(), llos_enq(), and read_a_cmd().

Here is the caller graph for this function:

int Skel_copy ( FILE *  ofp,
const char *  label,
int  copyout 
)

Definition at line 51 of file skeleton.c.

References MAX_LABEL, nl_error, and skfp.

int Skel_open ( const char *  name)

Definition at line 19 of file skeleton.c.

References DEF_DIR, nl_error, and skfp.


Variable Documentation

Definition at line 7 of file nldbg.c.

Referenced by compile_init_options(), msg_init_options(), and msgv().

int(* nl_error)(int level, const char *s,...)

Definition at line 19 of file nl_error.c.

Referenced by Selector::add_child(), DG_dispatch::all_closed(), allocate_qrows(), DG_tmr::attach(), DG_cmd::attach(), cache_read(), cache_write(), data_generator::check_writev(), ci_cmdee_init(), ci_sendcmd(), ci_server(), cic_init(), cic_options(), cic_transmit(), cis_setup_rdr(), cis_shutdown_rdr(), cis_turf(), Col_send(), Col_send_arm(), Col_send_init(), data_queue::data_queue(), data_state_T2(), delete_card(), Selector::delete_child(), delete_rundir(), dequeue_request(), DG_data::DG_data(), DG_dispatch::DG_dispatch(), DG_tmr::DG_tmr(), do_write(), csv_col::dsval_resize(), enqueue_char(), enqueue_read(), enqueue_sbreq(), Selector::event_loop(), data_generator::execute(), expint_attach(), expint_detach(), Ser_Sel::fillbuf(), get_subbus_name(), incoming_sbreq(), data_queue::init(), data_generator::init(), data_client::init(), csv_file::init(), cpu_usage::init(), csv_file::init_col(), init_serusb(), init_subbus(), int_attach(), int_detach(), int_init(), io_open(), io_write(), load_subbus(), load_tmdac(), lock_dq(), DG_dispatch::Loop(), lreduce(), main(), mkfltdir(), mlf_convert_fname(), mlf_init(), mlf_next_dir(), mlf_next_fd(), mlf_next_file(), mlf_set_ixs(), mlf_set_ntup(), my_key_event(), nct_args(), nct_charset(), nct_getch(), nct_init(), nct_init_options(), new_memory(), next_file(), nlph_cmdclt_init(), nlph_getch(), Ser_Sel::not_str(), open_output_file(), open_path(), pack_mread_request(), pack_mread_requests(), ph_data_client::ph_data_client(), data_client::process_init(), process_interrupt(), data_client::process_message(), process_quit(), process_range(), process_request(), process_response(), process_tm_info(), data_client::read(), read_ack(), read_reply(), read_tmafile(), DG_tmr::ready_to_quit(), DG_data::ready_to_quit(), DG_cmd::ready_to_quit(), data_client::resize_buffer(), data_queue::retire_rows(), sb_cache_init(), sb_cache_read(), sb_cache_write(), sb_data_arm(), sb_read_usb(), sb_timeout(), sc104_init_options(), send_CSF(), send_to_subbusd(), service_expint(), Timeout::Set(), csv_col::set(), csv_file::set_col(), set_timeout(), Ser_Sel::setup(), cmdif_wr::Setup(), setup_mount(), setup_rundir(), shutdown_mount(), shutdown_subbus(), Skel_copy(), Skel_open(), subbus_io_msg(), synt_err(), csv_file::terminate_on_write_err(), tm_dev_name(), tm_open_name(), tma_init_options(), tma_new_state(), tma_process(), tma_read_file(), tma_succeed(), data_generator::transmit_data(), cmdif_wr::Turf(), cmdif_rd::Turf(), unlock_dq(), write_ack(), yyunlex(), DG_tmr::~DG_tmr(), and Ser_Sel::~Ser_Sel().

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines