Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/smanonr..../opt/saltstac.../salt/include
File: com_err.h
/*
[0] Fix | Delete
* Copyright 1988, Student Information Processing Board of the
[1] Fix | Delete
* Massachusetts Institute of Technology.
[2] Fix | Delete
*
[3] Fix | Delete
* Copyright 1995 by Cygnus Support.
[4] Fix | Delete
*
[5] Fix | Delete
* For copyright and distribution info, see the documentation supplied
[6] Fix | Delete
* with this package.
[7] Fix | Delete
*/
[8] Fix | Delete
[9] Fix | Delete
/* Header file for common error description library. */
[10] Fix | Delete
[11] Fix | Delete
#ifndef __COM_ERR_H
[12] Fix | Delete
[13] Fix | Delete
#if defined(_WIN32)
[14] Fix | Delete
#include <win-mac.h>
[15] Fix | Delete
#endif
[16] Fix | Delete
[17] Fix | Delete
#ifndef KRB5_CALLCONV
[18] Fix | Delete
#define KRB5_CALLCONV
[19] Fix | Delete
#define KRB5_CALLCONV_C
[20] Fix | Delete
#endif
[21] Fix | Delete
[22] Fix | Delete
#include <stdarg.h>
[23] Fix | Delete
[24] Fix | Delete
typedef long errcode_t;
[25] Fix | Delete
typedef void (*et_old_error_hook_func) (const char *, errcode_t,
[26] Fix | Delete
const char *, va_list ap);
[27] Fix | Delete
[28] Fix | Delete
struct error_table {
[29] Fix | Delete
/*@shared@*/ char const * const * msgs;
[30] Fix | Delete
long base;
[31] Fix | Delete
unsigned int n_msgs;
[32] Fix | Delete
};
[33] Fix | Delete
[34] Fix | Delete
#ifdef __cplusplus
[35] Fix | Delete
extern "C" {
[36] Fix | Delete
#endif
[37] Fix | Delete
[38] Fix | Delete
/* Public interfaces */
[39] Fix | Delete
extern void KRB5_CALLCONV_C com_err
[40] Fix | Delete
(const char *, errcode_t, const char *, ...)
[41] Fix | Delete
#if !defined(__cplusplus) && (__GNUC__ > 2)
[42] Fix | Delete
__attribute__((__format__(__printf__, 3, 4)))
[43] Fix | Delete
#endif
[44] Fix | Delete
;
[45] Fix | Delete
extern void KRB5_CALLCONV com_err_va
[46] Fix | Delete
(const char *whoami, errcode_t code, const char *fmt,
[47] Fix | Delete
va_list ap)
[48] Fix | Delete
#if !defined(__cplusplus) && (__GNUC__ > 2)
[49] Fix | Delete
__attribute__((__format__(__printf__, 3, 0)))
[50] Fix | Delete
#endif
[51] Fix | Delete
;
[52] Fix | Delete
extern /*@observer@*//*@dependent@*/ const char * KRB5_CALLCONV error_message
[53] Fix | Delete
(errcode_t)
[54] Fix | Delete
/*@modifies internalState@*/;
[55] Fix | Delete
extern errcode_t KRB5_CALLCONV add_error_table
[56] Fix | Delete
(/*@dependent@*/ const struct error_table *)
[57] Fix | Delete
/*@modifies internalState@*/;
[58] Fix | Delete
extern errcode_t KRB5_CALLCONV remove_error_table
[59] Fix | Delete
(const struct error_table *)
[60] Fix | Delete
/*@modifies internalState@*/;
[61] Fix | Delete
[62] Fix | Delete
#if !defined(_WIN32)
[63] Fix | Delete
/*
[64] Fix | Delete
* The display routine should be application specific. A global hook,
[65] Fix | Delete
* may cause inappropriate display procedures to be called between
[66] Fix | Delete
* applications under non-Unix environments.
[67] Fix | Delete
*/
[68] Fix | Delete
[69] Fix | Delete
extern et_old_error_hook_func set_com_err_hook (et_old_error_hook_func);
[70] Fix | Delete
extern et_old_error_hook_func reset_com_err_hook (void);
[71] Fix | Delete
#endif
[72] Fix | Delete
[73] Fix | Delete
#ifdef __cplusplus
[74] Fix | Delete
}
[75] Fix | Delete
#endif
[76] Fix | Delete
[77] Fix | Delete
#define __COM_ERR_H
[78] Fix | Delete
#endif /* ! defined(__COM_ERR_H) */
[79] Fix | Delete
[80] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function