/* * aegis - project change supervisor * Copyright (C) 2001 Peter Miller; * All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. * * MANIFEST: interface definition for libaegis/patch/context.c */ #ifndef LIBAEGIS_PATCH_CONTEXT_H #define LIBAEGIS_PATCH_CONTEXT_H #include #include typedef struct patch_context_ty patch_context_ty; struct patch_context_ty { input_ty *input; string_list_ty buffer; }; patch_context_ty *patch_context_new _((input_ty *)); void patch_context_delete _((patch_context_ty *)); string_ty *patch_context_getline _((patch_context_ty *, int)); void patch_context_discard _((patch_context_ty *, int)); #endif /* LIBAEGIS_PATCH_CONTEXT_H */