#include "stdafx.h"
#include <libOOOggChef/utils.h>
#include <fstream>
#include <string>
#include <vector>
Include dependency graph for utils.cpp:
Go to the source code of this file.
Functions | |
bool | wantOnlyCMML (const vector< string > *inWantedMIMETypes) |
Check whether the user requested only CMML in the list of MIME types. | |
bool | fileExists (const string inFilename) |
a.k.a. World's most stupid stat() function | |
bool | wantOnlyPacketBody (const vector< string > *inWantedMIMETypes) |
Check whether we should serve out only the packet bodies given the list of MIME types. | |
bool | sendFile (const string inFilename, BufferWriter inBufferWriter, void *inBufferWriterUserData) |
Push out the entire contents of file to the inBufferWriter function. |
|
a.k.a. World's most stupid stat() function
Definition at line 51 of file utils.cpp. Referenced by oggchef_handler(), and AnnodexRecomposer::recomposeStreamFrom(). |
|
Push out the entire contents of file to the inBufferWriter function.
Definition at line 78 of file utils.cpp. References BufferWriter. Referenced by CMMLRecomposer::recomposeStreamFrom(). |
|
Check whether the user requested only CMML in the list of MIME types.
Definition at line 44 of file utils.cpp. Referenced by oggchef_handler(), AnnodexRecomposer::recomposeStreamFrom(), and CMMLRecomposer::recomposeStreamFrom(). |
|
Check whether we should serve out only the packet bodies given the list of MIME types.
Definition at line 69 of file utils.cpp. Referenced by AnnodexRecomposer::acceptOggPage(). |