openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
createapscfiles.cc File Reference
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <dirent.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <byteswap.h>
#include <errno.h>
#include <iostream>

Macros

#define _LARGEFILE64_SOURCE
 
#define LEN   24064
 

Functions

std::string makefilename (const char *base, const char *ext, const char *post)
 
int writebufinternal (int f, off64_t sz, off64_t tm)
 
int framepid (unsigned char *buf, int pos)
 
off64_t framepts (unsigned char *buf, int pos)
 
int framesearch (int fts, int first, off64_t &retpos, off64_t &retpts, off64_t &retpos2, off64_t &retdat, unsigned long long filesize)
 
int do_one (int fts, int fap, int fsc, unsigned long long filesize)
 
int do_movie (char *inname)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

◆ _LARGEFILE64_SOURCE

#define _LARGEFILE64_SOURCE

◆ LEN

#define LEN   24064

Function Documentation

◆ do_movie()

int do_movie ( char *  inname)

◆ do_one()

int do_one ( int  fts,
int  fap,
int  fsc,
unsigned long long  filesize 
)

◆ framepid()

int framepid ( unsigned char *  buf,
int  pos 
)

◆ framepts()

off64_t framepts ( unsigned char *  buf,
int  pos 
)

◆ framesearch()

int framesearch ( int  fts,
int  first,
off64_t &  retpos,
off64_t &  retpts,
off64_t &  retpos2,
off64_t &  retdat,
unsigned long long  filesize 
)

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ makefilename()

std::string makefilename ( const char *  base,
const char *  ext,
const char *  post 
)

◆ writebufinternal()

int writebufinternal ( int  f,
off64_t  sz,
off64_t  tm 
)