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 89 of file NVcontainer.cc.

References nvtime_t.

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

00090 {
00091         time_t tm;
00092         nvtime_t nvtm;
00093 
00094         time(&tm);
00095         nvtm = tm;
00096         if (nvt)
00097                 *nvt = nvtm;
00098 
00099         return nvtm;
00100 }


Generated on Sun Oct 24 21:08:20 2004 for NewsCache by doxygen 1.3.6-20040222