/*
 * $Id: /mirror/trunk/compilers/pirc/src/pircapi.h 34786 2009-01-01T19:00:48.053737Z kjs  $
 * Copyright (C) 2009, The Perl Foundation.
 */

#ifndef PARROT_PIR_PIRCAPI_H_GUARD
#define PARROT_PIR_PIRCAPI_H_GUARD

#include <stdio.h>

FILE * open_file(char const * const filename, char const * const mode);

void parse_string(PARROT_INTERP, char *pirstring, int flags, int pasminput, unsigned macro_size);

void parse_file(PARROT_INTERP, int flexdebug, FILE *infile, char * const filename, int flags,
                int thr_id, unsigned macro_size, char * const outputfile);



PackFile_ByteCode *pirc_compile_file(PARROT_INTERP, const char *filename, STRING **error_message);

#endif /* PARROT_PIR_PIRCAPI_H_GUARD */

/*
 * Local variables:
 *   c-file-style: "parrot"
 * End:
 * vim: expandtab shiftwidth=4:
 */
