callback_table.h
author Darkvater
Tue, 05 Dec 2006 23:37:04 +0000
changeset 5258 28d07c40ea82
parent 4828 4e6f53fa10cb
permissions -rw-r--r--
(svn r7388) -Fix (r7384 / r7368 / r3757): When adding a new news item for the first time (_latest_news
is INVALID_NEWS), make it the value of _oldest_news, not zero as DeleteVehicleNews can
change _oldest_news. Also remove the (i == INVALID_NEWS) return 0; guard from increaseIndex
as it's only used in 2 places, nowhere else.
/* $Id$ */

#ifndef CALLBACK_TABLE_H
#define CALLBACK_TABLE_H

#include "command.h"

extern CommandCallback *_callback_table[];
extern const int _callback_table_count;

#endif /* CALLBACK_TABLE_H */