lang.h

00001 /***************************************************************************
00002     begin                : Wed Dec 20 2006
00003     copyright            : (C) 2006 by Alper Akcan
00004     email                : distchx@yahoo.com
00005   ***************************************************************************/
00006 
00007 /***************************************************************************
00008  *                                                                         *
00009  *   This program is free software; you can redistribute it and/or modify  *
00010  *   it under the terms of the GNU Lesser General Public License as        *
00011  *   published by the Free Software Foundation; either version 2.1 of the  *
00012  *   License, or (at your option) any later version.                       *
00013  *                                                                         *
00014  ***************************************************************************/
00015 
00016 #ifndef LANG_H_
00017 #define LANG_H_
00018 
00019 typedef struct lang_header_s {
00020         char magic[8];
00021         unsigned long int count;
00022 } lang_header_t;
00023 
00024 typedef struct lang_s {
00025         unsigned long int hash;
00026         unsigned long int id_len;
00027         unsigned long int str_len;
00028         unsigned long int id_offset;
00029         unsigned long int str_offset;
00030 } lang_t;
00031 
00032 typedef struct lmsg_s {
00033         char *id;
00034         char *str;
00035 } lmsg_t;
00036 
00037 void lang_generate (node_t *node, char *file);
00038 
00039 #endif /*LANG_H_*/

Generated on Wed Dec 27 17:53:06 2006 for xynth-0.8.40 by  doxygen 1.4.7