view src/lock.h @ 119:f50cc311e29a noffle

[svn] Leave online mode, if the connection to a remote server fails for avoiding a series of timeouts and holding the lock for a long time.
author enz
date Fri, 30 Jun 2000 08:10:45 +0100
parents 32ba1198c6fa
children 3c71e28c8eef
line wrap: on
line source

/*
  lock.h

  Opening/Closing of the various databases: article overview database,
  articla database, groups database, outgoing articles database, requests
  database. Handles global lock.

  $Id: lock.h 51 2000-05-05 23:49:38Z uh1763 $
*/

#ifndef LOCK_H
#define LOCK_H

#if HAVE_CONFIG_H
#include <config.h>
#endif

#include "common.h"

/* Open all databases and set global lock. */
Bool
Lock_openDatabases( void );

/* Close all databases and release global lock. */
void
Lock_closeDatabases( void );

#endif