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 41 42 43 44 45 46 47 48 49
|
#ifndef PYSAM_H
#define PYSAM_H
#include "stdio.h"
extern FILE * @pysam@_stderr;
extern FILE * @pysam@_stdout;
extern const char * @pysam@_stdout_fn;
/*! set pysam standard error to point to file descriptor
Setting the stderr will close the previous stderr.
*/
FILE * @pysam@_set_stderr(int fd);
/*! set pysam standard output to point to file descriptor
Setting the stderr will close the previous stdout.
*/
FILE * @pysam@_set_stdout(int fd);
/*! set pysam standard output to point to filename
*/
void @pysam@_set_stdout_fn(const char * fn);
/*! set pysam standard error to /dev/null.
Unsetting the stderr will close the previous stderr.
*/
void @pysam@_unset_stderr(void);
/*! set pysam standard error to /dev/null.
Unsetting the stderr will close the previous stderr.
*/
void @pysam@_unset_stdout(void);
int @pysam@_puts(const char *s);
int @pysam@_dispatch(int argc, char *argv[]);
void @pysam@_set_optind(int);
extern int @pysam@_main(int argc, char *argv[]);
#endif
|