Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

MemoryCardDriverThreaded_Linux.cpp File Reference

#include "global.h"
#include "MemoryCardDriverThreaded_Linux.h"
#include "RageLog.h"
#include "RageUtil.h"
#include "RageFileManager.h"
#include "Profile.h"
#include "PrefsManager.h"
#include "Foreach.h"
#include <cstdio>
#include <cstring>
#include <cerrno>
#include <unistd.h>
#include <fcntl.h>
#include <fstream>
#include <dirent.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/poll.h>

Classes

struct  WhiteListEntry

Functions

void GetNewStorageDevices (vector< UsbStorageDevice > &vDevicesOut)
template<class T> bool VectorsAreEqual (const T &a, const T &b)
bool TestWrite (CCStringRef sDir)
bool ExecuteCommand (CCStringRef sCommand)
bool ReadFile (const CString &sPath, CString &sBuf)
void GetFileList (const CString &sPath, vector< CString > &out)
bool BlockDevicesChanged ()
bool IsDeviceAllowed (int idVendor, int idProduct, CString sVendor, CString sProduct)

Variables

const CString TEMP_MOUNT_POINT = "@mctemp/"
const WhiteListEntry g_AllowedEntries []

Function Documentation

bool BlockDevicesChanged  )  [static]
 

bool ExecuteCommand CCStringRef  sCommand  )  [static]
 

void GetFileList const CString &  sPath,
vector< CString > &  out
[static]
 

void GetNewStorageDevices vector< UsbStorageDevice > &  vDevicesOut  ) 
 

bool IsDeviceAllowed int  idVendor,
int  idProduct,
CString  sVendor,
CString  sProduct
 

bool ReadFile const CString &  sPath,
CString &  sBuf
[static]
 

bool TestWrite CCStringRef  sDir  )  [static]
 

template<class T>
bool VectorsAreEqual const T &  a,
const T &  b
 


Variable Documentation

const WhiteListEntry g_AllowedEntries[] [static]
 

Initial value:

{ { 0x0781, -1, "", "Cruzer" }, { 0x04e8, -1, "Kingston|KINGSTON", "" }, { 0x041e, -1, "", "^NOMAD MuVo$|^NOMAD MuVo .X" }, { 0x05dc, -1, "", "JUMP|Jump" }, { 0x1915, 0x2220, "", "" }, { 0x0d7d, -1, "", "USB DISK" }, { 0x0ea0, -1, "", "Flash Disk" }, { 0x0ef5, -1, "", "Intelligent|Traveling" }, { 0x08ec, -1, "", "M-Disk" }, }

const CString TEMP_MOUNT_POINT = "@mctemp/"
 


Generated on Thu Jan 27 20:57:42 2005 for StepMania by doxygen 1.3.7