Back to index

avfs  1.0.1
Classes | Functions
filtprog.h File Reference
#include "avfs.h"
#include "serialfile.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  filtdata

Functions

struct sfileav_filtprog_new (vfile *vf, struct filtdata *fitdat)
void av_filtprog_change (struct sfile *sf, vfile *newvf)

Class Documentation

struct filtdata

Definition at line 12 of file filtprog.h.

Class Members
char ** prog
char ** revprog

Function Documentation

void av_filtprog_change ( struct sfile sf,
vfile *  newvf 
)

Definition at line 350 of file filtprog.c.

{
    struct filtprog *fp = (struct filtprog *) av_sfile_getdata(sf);
    
    fp->vf = newvf;
}

Here is the call graph for this function:

Here is the caller graph for this function:

struct sfile* av_filtprog_new ( vfile *  vf,
struct filtdata fitdat 
) [read]

Definition at line 329 of file filtprog.c.

{
    struct filtprog *fp;
    struct sfile *sf;
    static const struct sfilefuncs func = {
        filtprog_startget,
        filtprog_read,
        filtprog_startput,
        filtprog_write,
        filtprog_endput
    };

    AV_NEW_OBJ(fp, NULL);
    fp->vf = vf;
    fp->filtdat = filtdat;

    sf = av_sfile_new(&func, fp, 0);

    return sf;
}

Here is the call graph for this function:

Here is the caller graph for this function: