4 * Copyright (C) 2004 Voice Sistem SRL
6 * This file is part of a module for Kamailio, a free SIP server.
8 * Kamailio is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version
13 * Kamailio is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
28 #include "../../core/parser/msg_parser.h"
30 #define ALIAS_REVERSE_FLAG (1<<0)
31 #define ALIAS_DOMAIN_FLAG (1<<1)
33 int alias_db_lookup(struct sip_msg* _msg, str _table);
34 int alias_db_lookup_ex(struct sip_msg* _msg, str _table, unsigned long flags);
35 int alias_db_find(struct sip_msg* _msg, str _table, char* _in, char* _out,
38 #endif /* _ALOOKUP_H_ */