1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
/*
* scamper_source_file.h
*
* $Id: scamper_source_file.h,v 1.3 2011/09/16 03:15:44 mjl Exp $
*
* Copyright (C) 2004-2006 Matthew Luckie
* Copyright (C) 2006-2008 The University of Waikato
* Author: Matthew Luckie
*
* 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, version 2.
*
* 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-1307 USA
*
*/
#ifndef __SCAMPER_SOURCE_FILE_H
#define __SCAMPER_SOURCE_FILE_H
scamper_source_t *scamper_source_file_alloc(scamper_source_params_t *ssp,
const char *filename,
const char *command,
int cycles, int autoreload);
const char *scamper_source_file_getfilename(const scamper_source_t *source);
int scamper_source_file_getcycles(const scamper_source_t *source);
int scamper_source_file_getautoreload(const scamper_source_t *source);
int scamper_source_file_update(scamper_source_t *source,
const int *autoreload, const int *cycles);
#endif /* __SCAMPER_SOURCE_FILE_H */
|