|
Packit |
0021fb |
/*
|
|
Packit |
0021fb |
* This file is part of ltrace.
|
|
Packit |
0021fb |
* Copyright (C) 2011,2012 Petr Machata, Red Hat Inc.
|
|
Packit |
0021fb |
*
|
|
Packit |
0021fb |
* This program is free software; you can redistribute it and/or
|
|
Packit |
0021fb |
* modify it under the terms of the GNU General Public License as
|
|
Packit |
0021fb |
* published by the Free Software Foundation; either version 2 of the
|
|
Packit |
0021fb |
* License, or (at your option) any later version.
|
|
Packit |
0021fb |
*
|
|
Packit |
0021fb |
* This program is distributed in the hope that it will be useful, but
|
|
Packit |
0021fb |
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
0021fb |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
0021fb |
* General Public License for more details.
|
|
Packit |
0021fb |
*
|
|
Packit |
0021fb |
* You should have received a copy of the GNU General Public License
|
|
Packit |
0021fb |
* along with this program; if not, write to the Free Software
|
|
Packit |
0021fb |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
|
|
Packit |
0021fb |
* 02110-1301 USA
|
|
Packit |
0021fb |
*/
|
|
Packit |
0021fb |
|
|
Packit |
0021fb |
#ifndef ZERO_H
|
|
Packit |
0021fb |
#define ZERO_H
|
|
Packit |
0021fb |
|
|
Packit |
0021fb |
#include "forward.h"
|
|
Packit |
0021fb |
|
|
Packit |
0021fb |
/* This returns a pre-built "zero" node without argument. Share, but
|
|
Packit |
0021fb |
don't free. */
|
|
Packit |
0021fb |
struct expr_node *expr_node_zero(void);
|
|
Packit |
0021fb |
|
|
Packit |
0021fb |
/* This builds a new "zero" node with EXPR as argument. EXPR is owned
|
|
Packit |
0021fb |
* by the built node if OWN. Returns NULL if something failed. */
|
|
Packit |
0021fb |
struct expr_node *build_zero_w_arg(struct expr_node *expr, int own);
|
|
Packit |
0021fb |
|
|
Packit |
0021fb |
#endif /* ZERO_H */
|