00001 #ifndef __ITER_H__ 00002 #define __ITER_H__ 00003 00004 /* 00005 Copyright (c) 2006-2009 Trevor Williams 00006 00007 This program is free software; you can redistribute it and/or modify 00008 it under the terms of the GNU General Public License as published by the Free Software 00009 Foundation; either version 2 of the License, or (at your option) any later version. 00010 00011 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 00012 without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00013 See the GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License along with this program; 00016 if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00017 */ 00018 00026 #include "defines.h" 00027 00028 00030 void stmt_iter_reset( stmt_iter* si, stmt_link* start ); 00031 00033 void stmt_iter_copy( stmt_iter* si, stmt_iter* orig ); 00034 00036 void stmt_iter_next( stmt_iter* si ); 00037 00039 void stmt_iter_reverse( stmt_iter* si ); 00040 00042 void stmt_iter_find_head( stmt_iter* si, bool skip ); 00043 00045 void stmt_iter_get_next_in_order( stmt_iter* si ); 00046 00048 void stmt_iter_get_line_before( stmt_iter* si, int lnum ); 00049 00050 #endif 00051
1.3.4