This file is indexed.

/usr/include/falcon/globals.h is in falconpl-dev 0.9.6.9-git20120606-2.1+b1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
/*
   FALCON - The Falcon Programming Language.
   FILE: globals.h

   Engine-wide exported variables and global functions.
   -------------------------------------------------------------------
   Author: Giancarlo Niccolai
   Begin: Mon, 02 Mar 2009 20:19:00 +0100

   -------------------------------------------------------------------
   (C) Copyright 2009: the FALCON developers (see list in AUTHORS file)

   See LICENSE file for licensing details.
*/
#ifndef FALCON_GLOBALS_H
#define FALCON_GLOBALS_H

#include <falcon/setup.h>
#include <falcon/types.h>
#include <stdlib.h>  // for size_t

namespace Falcon
{

class MemPool;
class StringTable;
class VFSProvider;
class String;
class ModuleCache;

FALCON_DYN_SYM extern void * (*memAlloc) ( size_t );
FALCON_DYN_SYM extern void (*memFree) ( void * );
FALCON_DYN_SYM extern void * (*memRealloc) ( void *,  size_t );

FALCON_DYN_SYM extern void * (*gcAlloc) ( size_t );
FALCON_DYN_SYM extern void (*gcFree) ( void * );
FALCON_DYN_SYM extern void * (*gcRealloc) ( void *,  size_t );
FALCON_DYN_SYM extern MemPool *memPool;
FALCON_DYN_SYM extern StringTable *engineStrings;

class MemPool;

namespace Engine
{
   FALCON_DYN_SYM void Init();
   FALCON_DYN_SYM void PerformGC();
   FALCON_DYN_SYM void Shutdown();

   /** Utility function recording the preferential encodings for sources and VM I/O.
      When the engine has to create its own VMs and streams, i.e. to fulfil
      interactive compiler requests, it uses this encodings that can
      be defined and changed by the application at any time.

      The values can be used also by the calling application as a convenient
      inter-moule communication area for this critical aspect of preferential
      encoding.

      \param sSrcEnc The encoding preferentially used by source files.
      \param sIOEnc The encoding preferentially used in I/O streams different from sources.
   */
   FALCON_DYN_SYM void setEncodings( const String &sSrcEnc, const String &sIOEnc );

   /** Utility function recording the preferential encodings for sources and VM I/O.
      \see recordEncodings

      \param sSrcEnc The encoding preferentially used by source files.
      \param sIOEnc The encoding preferentially used in I/O streams different from sources.
   */
   FALCON_DYN_SYM void getEncodings( String &sSrcEnc, String &sIOEnc );

   /** Utility function that adds a VFSProvider to the engine.
      The engine takes ownership of the instance so 
      Don't add the same instance more than once!

      \param protocol The protocol which this VFSProvider responds to
      \param prv The provider that should be added
   */
   FALCON_DYN_SYM bool addVFS( const String &protocol, VFSProvider *prv );
   FALCON_DYN_SYM bool addVFS( VFSProvider *prv );
   FALCON_DYN_SYM VFSProvider* getVFS( const String &name );

   FALCON_DYN_SYM const String &getMessage( uint32 id );
   FALCON_DYN_SYM bool setTable( StringTable *tab );
   FALCON_DYN_SYM bool setLanguage( const String &language );
   /** Set application wide search path.
      This is used by default in new VMs, module loaders and metacompilers.
   */
   FALCON_DYN_SYM void setSearchPath( const String &path );

   /** Returns the application-wide default search path by copy. */
   FALCON_DYN_SYM String getSearchPath();

   /** Return global setting for automatic conversion from windows paths */
   FALCON_DYN_SYM bool getWindowsNamesConversion();

   /** Changes global setting for automatic conversion from windows paths */
   FALCON_DYN_SYM void setWindowsNamesConversion( bool s );

   /** Turn on automatic module caching. */
   FALCON_DYN_SYM void cacheModules( bool tmode );

   /** Public module cache. */
   FALCON_DYN_SYM ModuleCache* getModuleCache();

   class AutoInit {
   public:
      AutoInit() { Init(); }
      ~AutoInit() { PerformGC(); Shutdown(); }
   };

}

}
#endif

/* end of globals.h */