Subversion Repositories autosfx

Rev

Blame | Last modification | View Log | RSS feed

  1. #ifndef __DLLENTER_H
  2. #define __DLLENTER_H
  3. /*************************************************************************
  4.  Copyright (C) 2009, 2010  by Russell J. Peters, Roger Aelbrecht
  5.  
  6.    This file is part of TZipMaster Version 1.9.
  7.  
  8.     TZipMaster is free software: you can redistribute it and/or modify
  9.     it under the terms of the GNU Lesser General Public License as published by
  10.     the Free Software Foundation, either version 3 of the License, or
  11.     (at your option) any later version.
  12.  
  13.     TZipMaster is distributed in the hope that it will be useful,
  14.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16.     GNU Lesser General Public License for more details.
  17.  
  18.     You should have received a copy of the GNU Lesser General Public License
  19.     along with TZipMaster.  If not, see <http://www.gnu.org/licenses/>.
  20.  
  21.     contact: problems@delphizip.org (include ZipMaster in the subject).
  22.     updates: http://www.delphizip.org
  23.     DelphiZip maillist subscribe at http://www.freelists.org/list/delphizip
  24. ************************************************************************/
  25. typedef unsigned long OperKeys;
  26. #define NOT_ASSIGNED_OPER ((OperKeys)(unsigned)-1)
  27.  
  28. struct OpFrame
  29. {
  30.   int Abort_Flag;
  31.   OperKeys OpKey;
  32.   struct OpFrame* Prev;
  33.   struct OpFrame* ME;  // validity check
  34. };
  35.  
  36. // TLS data at index is head of list of OpFrame
  37. //extern DWORD TgbIndex; // RCV added, our only non-constant global.
  38.  
  39. int Add_Oper(struct OpFrame* Op);
  40. int Remove_Oper(struct OpFrame* Op);
  41. int Set_Oper_Abort(OperKeys key);
  42.  
  43. struct OpFrame* Get_Current_Oper(void);
  44.  
  45. extern int Init_Process(void);
  46. extern int Clear_Oper(struct OpFrame* Op);
  47.  
  48. #endif
  49.  
  50.  
  51.