1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-05 17:13:36 +08:00
hl2sdk/public/filesystem_helpers.h

22 lines
711 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