Path: blob/main/crypto/krb5/src/util/et/error_table.h
34907 views
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */1/*2* Copyright 1988 by the Student Information Processing Board of the3* Massachusetts Institute of Technology.4*5* For copyright info, see mit-sipb-copyright.h.6*/78#ifndef _ET_H910#include <errno.h>1112#define ET_EBUFSIZ 10241314struct et_list {15struct et_list *next;16const struct error_table *table;17};1819#define ERRCODE_RANGE 8 /* # of bits to shift table number */20#define BITS_PER_CHAR 6 /* # bits to shift per character in name */21#define ERRCODE_MAX 0xFFFFFFFFUL /* Mask for maximum error table */2223const char *error_table_name(unsigned long);24const char *error_table_name_r(unsigned long, char *outbuf);2526#include "k5-thread.h"27extern k5_mutex_t com_err_hook_lock;28int com_err_finish_init(void);2930#define _ET_H31#endif323334