Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

NVcontainer.h File Reference

#include <fcntl.h>
#include <sys/file.h>
#include <sys/param.h>
#include <unistd.h>
#include "Debug.h"

Go to the source code of this file.

Classes

class  NVcontainer
struct  NVcontainer::Header
struct  NVcontainer::FreeList

Defines

#define NVcontainer_LOCKSTACKSIZE   16

Typedefs

typedef unsigned long nvtime_t
typedef unsigned long nvoff_t

Functions

nvtime_t nvtime (nvtime_t *nvt)


Define Documentation

#define NVcontainer_LOCKSTACKSIZE   16
 

Definition at line 11 of file NVcontainer.h.

Referenced by NVcontainer::close(), NVcontainer::get_lock(), NVcontainer::lock(), and NVcontainer::NVcontainer().


Typedef Documentation

typedef unsigned long nvoff_t
 

Definition at line 14 of file NVcontainer.h.

Referenced by ASSERT(), NVcontainer::fl2o(), NVcontainer::getdata(), NVcontainer::getdatap(), NVHash::make_current(), NVcontainer::make_current(), NVArray::make_current(), NVcontainer::nvalloc(), NVcontainer::nvfree(), NVlist::o2r(), NVHash::open(), NVlist::r2o(), NVlist::sappend(), NVlist::sclear(), NVNewsgroup::setarticle(), NVcontainer::setdata(), NVNewsgroup::setover(), NVlist::sis_empty(), NVlist::sprepend(), NVlist::sprint(), NVlist::sremove(), NVArray::sset(), and NVArray::ssetsize().

typedef unsigned long nvtime_t
 

Definition at line 13 of file NVcontainer.h.

Referenced by active_filter_group_time< Format >::active_filter_group_time(), active_filter_time< Format >::active_filter_time(), GroupInfo::ctime(), NVcontainer::getmtime(), nvtime(), GroupInfo::setctime(), GroupInfo::setfln(), NVcontainer::setmtime(), CNewsgroup::setttl(), NVActiveDB::sset(), CNewsgroup::updateOverview(), and NVActiveDB::write().


Function Documentation

nvtime_t nvtime nvtime_t nvt  ) 
 

Definition at line 83 of file NVcontainer.cc.

References nvtime_t.

Referenced by CServer::active_valid(), CServer::groupinfo(), GroupInfo::set(), GroupInfo::setfln(), NVActiveDB::sset(), and CNewsgroup::updateOverview().

00084 {
00085         time_t tm;
00086         nvtime_t nvtm;
00087 
00088         time(&tm);
00089         nvtm = tm;
00090         if (nvt)
00091                 *nvt = nvtm;
00092 
00093         return nvtm;
00094 }


Generated on Fri Aug 20 10:58:09 2004 for NewsCache by doxygen 1.3.6-20040222