source2006/public/filesystem_helpers.h
2020-02-25 05:28:57 +02:00

21 lines
690 B
C

//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef FILESYSTEM_HELPERS_H
#define FILESYSTEM_HELPERS_H
#ifdef _WIN32
#pragma once
#endif
// Call until it returns NULL. Each time you call it, it will parse out a token.
typedef struct characterset_s characterset_t;
const char* ParseFile( const char* pFileBytes, char* pToken, bool* pWasQuoted, characterset_t *pCharSet = NULL );
char* ParseFile( char* pFileBytes, char* pToken, bool* pWasQuoted ); // (same exact thing as the const version)
#endif // FILESYSTEM_HELPERS_H