%constant int SEEK_SET = 0; /* Seek from beginning of file. */ %constant int SEEK_CUR = 1; /* Seek from current position. */ %constant int SEEK_END = 2; /* Seek from end of file. */ GR_SWIG_BLOCK_MAGIC(rad,wvfm_source) rad_wvfm_source_sptr rad_make_wvfm_source (size_t itemsize, const char *filename, bool repeat=false); class rad_wvfm_source : public gr_sync_block { protected: rad_wvfm_source (size_t itemsize, const char *filename, bool repeat); public: ~rad_wvfm_source (); bool seek (long seek_point, int whence); };