00001 #ifndef __OUC_SXEQ_HH__ 00002 #define __OUC_SXEQ_HH__ 00003 /******************************************************************************/ 00004 /* */ 00005 /* X r d O u c S x e q . h h */ 00006 /* */ 00007 /* (c) 2009 by the Board of Trustees of the Leland Stanford, Jr., University */ 00008 /* All Rights Reserved */ 00009 /* Produced by Andrew Hanushevsky for Stanford University under contract */ 00010 /* DE-AC02-76-SFO0515 with the Department of Energy */ 00011 /******************************************************************************/ 00012 00013 // $Id: XrdOucSxeq.hh,v 1.1 2009/08/19 13:51:47 abh Exp $ 00014 00015 class XrdOucSxeq 00016 { 00017 public: 00018 00019 static const int noWait = 0x0001; 00020 static const int Share = 0x0002; 00021 static const int Unlink = 0x0004; 00022 00023 int Release(); 00024 00025 int Serialize(int Opts=0); 00026 00027 int lastError() {return lokRC;} 00028 00029 XrdOucSxeq(const char *sfx, const char *sfx1=0, const char *Dir="/tmp/"); 00030 ~XrdOucSxeq(); 00031 00032 private: 00033 00034 char *lokFN; 00035 int lokFD; 00036 int lokUL; 00037 int lokRC; 00038 }; 00039 #endif
1.7.1