XrdOucSxeq.hh

Go to the documentation of this file.
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 34000 2010-06-21 06:49:56Z ganis $
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 static const int Lock   = 0x0008; // lock in constructor
00023 
00024 int    Release();
00025 
00026 int    Serialize(int Opts=0);
00027 
00028 int    lastError() {return lokRC;}
00029 
00030        XrdOucSxeq(int sOpts, const char *path);
00031        XrdOucSxeq(const char *sfx, const char *sfx1=0, const char *Dir="/tmp/");
00032       ~XrdOucSxeq();
00033 
00034 private:
00035 
00036 char *lokFN;
00037 int   lokFD;
00038 int   lokUL;
00039 int   lokRC;
00040 };
00041 #endif

Generated on Tue Jul 5 14:46:56 2011 for ROOT_528-00b_version by  doxygen 1.5.1