Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
1.2 KiB

  1. //===================== Copyright (c) Valve Corporation. All Rights Reserved. ======================
  2. //
  3. //==================================================================================================
  4. #pragma once
  5. //--------------------------------------------------------------------------------------------------
  6. // Returns true if the passed string matches the filename style glob, false otherwise
  7. // * matches any characters, ? matches any single character, otherwise case insensitive matching
  8. //--------------------------------------------------------------------------------------------------
  9. bool GlobMatch( const char *pszGlob, const char *pszString );
  10. //--------------------------------------------------------------------------------------------------
  11. // Processes #insert and #update KeyValues macros
  12. //
  13. // #insert inserts a new KeyValues file replacing the KeyValues #insert with the new file
  14. //
  15. // #update updates sibling KeyValues blocks subkeys with its subkeys, overwriting and adding
  16. // KeyValues as necessary
  17. //--------------------------------------------------------------------------------------------------
  18. KeyValues *HandleKeyValuesMacros( KeyValues *kv, KeyValues *pkvParent = nullptr );