text: /*
   * ithreadinfo.h
   *
   * TALPA Filesystem Interceptor
   *
   * Copyright (C) 2004-2016 Sophos Limited, Oxford, England.
   *
   * This program is free software; you can redistribute it and/or modify it under the terms of the
   * GNU General Public License Version 2 as published by the Free Software Foundation.
   *
   * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
   * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   * See the GNU General Public License for more details.
   *
   * You should have received a copy of the GNU General Public License along with this program; if not,
   * write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
   *
   */
  #ifndef H_ITHREADINFO
  #define H_ITHREADINFO
  
  #include <linux/types.h>
  
  #include "common/bool.h"
  
  typedef struct
  {
      void                    (*get)              (const void* self);
      pid_t                   (*processId)        (const void* self);
      pid_t                   (*threadId)         (const void* self);
      unsigned long           (*environmentSize)  (const void* self);
      const unsigned char*    (*environment)      (const void* self);
      unsigned long           (*controllingTTY)   (const void* self);
      const char*             (*rootDir)          (const void* self);
      void*                   (*utsNamespace)     (const void* self);
      /*
       *  Object supporting this interface instance.
       */
      void*   object;
      void    (*delete)(const void* self);
  } IThreadInfo;
  
  #endif
  
  /*
   * End of ithreadinfo.h
   */
  