libdballe  5.18
aliases.h
Go to the documentation of this file.
00001 /*
00002  * wreport/aliases - Aliases for commonly used variable codes
00003  *
00004  * Copyright (C) 2005--2010  ARPA-SIM <urpsim@smr.arpa.emr.it>
00005  *
00006  * This program is free software; you can redistribute it and/or modify
00007  * it under the terms of the GNU General Public License as published by
00008  * the Free Software Foundation; either version 2 of the License.
00009  *
00010  * This program is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License
00016  * along with this program; if not, write to the Free Software
00017  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
00018  *
00019  * Author: Enrico Zini <enrico@enricozini.com>
00020  */
00021 
00022 #ifndef WREPORT_CORE_ALIASES_H
00023 #define WREPORT_CORE_ALIASES_H
00024 
00030 #include <wreport/varinfo.h>
00031 
00032 namespace dballe {
00033 
00043 wreport::Varcode varcode_alias_resolve(const char* alias);
00044 
00056 wreport::Varcode varcode_alias_resolve_substring(const char* alias, int len);
00057 
00063 const char* varcode_alias_resolve_reverse(wreport::Varcode code);
00064 
00065 }
00066 
00067 /* vim:set ts=4 sw=4: */
00068 #endif