view libgaim/protocols/zephyr/error_table.h @ 14476:218a36c1c9e2

[gaim-migrate @ 17194] The signal to noise ratio here isn't very good, but I hate comments that don't wrap cleanly. Anyway, apparently libxml2 has intermittent start-parsing errors, so we need to force it to actually start with this line. Sean pulled it out a bit ago but that was causing issues with logins just hanging sometimes. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Fri, 08 Sep 2006 22:47:36 +0000
parents 60b1bc8dbf37
children
line wrap: on
line source

/*
 * Copyright 1988 by the Student Information Processing Board of the
 * Massachusetts Institute of Technology.
 *
 * For copyright info, see mit-sipb-copyright.h.
 */

#ifndef _ET_H
struct error_table {
    char const * const * msgs;
    long base;
    int n_msgs;
};
struct et_list {
    struct et_list *next;
    const struct error_table *table;
};
extern struct et_list * _et_list;

#define	ERRCODE_RANGE	8	/* # of bits to shift table number */
#define	BITS_PER_CHAR	6	/* # bits to shift per character in name */

const char *error_table_name(void);
#define _ET_H
#endif