view src/protocols/zephyr/init_et.c @ 9478:0efa260e384f

[gaim-migrate @ 10303] " This patch adds the following features for zephyr, in order of usefulness :-) Protocol action (Retrieve subscriptions from server) to list user's subscriptions (chats) in a popup window. Typing notification - (both sending and receiving -- using zephyrs with opcode ping). Correct interpretation of %host% and %canon% entries in .zephyr.subs . These are often used to subscribe to system messages concerning a specific machine (by hostname and canonical hostname, respectively). An updated .todo list." --Arun A Tharuvai committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Wed, 07 Jul 2004 21:56:57 +0000
parents 43dec50d8d51
children 64895571248f
line wrap: on
line source

/*
 * $Header$
 * $Source$
 * $Locker$
 *
 * Copyright 1986, 1987, 1988 by MIT Information Systems and
 *	the MIT Student Information Processing Board.
 *
 * For copyright info, see mit-sipb-copyright.h.
 */

#include <sysdep.h>
/* #include "error_table.h" */
#include "mit-sipb-copyright.h"

#ifndef	lint
static const char rcsid_init_et_c[] =
    "$Header$";
#endif
/*
struct foobar {
    struct et_list etl;
    struct error_table et;
};
*/
extern struct et_list * _et_list;

/* int init_error_table(msgs, base, count) */
/*     const char * const * msgs; */
/*     int base; */
/*     int count; */
/* { */
/*     struct foobar * new_et; */

/*     if (!base || !count || !msgs) */
/* 	return 0; */

/*     new_et = (struct foobar *) malloc(sizeof(struct foobar)); */
/*     if (!new_et) */
/* 	return errno;	/\* oops *\/ */
/*     new_et->etl.table = &new_et->et; */
/*     new_et->et.msgs = msgs; */
/*     new_et->et.base = base; */
/*     new_et->et.n_msgs= count; */

/*     new_et->etl.next = _et_list; */
/*     _et_list = &new_et->etl; */
/*     return 0; */
/* } */