~ubuntu-branches/ubuntu/utopic/gridengine/utopic

« back to all changes in this revision

Viewing changes to source/libs/spool/berkeleydb/msg_spoollib_berkeleydb.h

  • Committer: Bazaar Package Importer
  • Author(s): Mark Hymers
  • Date: 2008-06-25 22:36:13 UTC
  • Revision ID: james.westby@ubuntu.com-20080625223613-tvd9xlhuoct9kyhm
Tags: upstream-6.2~beta2
ImportĀ upstreamĀ versionĀ 6.2~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __MSG_SPOOLLIB_BERKELEYDB_H
 
2
#define __MSG_SPOOLLIB_BERKELEYDB_H
 
3
/*___INFO__MARK_BEGIN__*/
 
4
/*************************************************************************
 
5
 * 
 
6
 *  The Contents of this file are made available subject to the terms of
 
7
 *  the Sun Industry Standards Source License Version 1.2
 
8
 * 
 
9
 *  Sun Microsystems Inc., March, 2001
 
10
 * 
 
11
 * 
 
12
 *  Sun Industry Standards Source License Version 1.2
 
13
 *  =================================================
 
14
 *  The contents of this file are subject to the Sun Industry Standards
 
15
 *  Source License Version 1.2 (the "License"); You may not use this file
 
16
 *  except in compliance with the License. You may obtain a copy of the
 
17
 *  License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html
 
18
 * 
 
19
 *  Software provided under this License is provided on an "AS IS" basis,
 
20
 *  WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
 
21
 *  WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
 
22
 *  MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
 
23
 *  See the License for the specific provisions governing your rights and
 
24
 *  obligations concerning the Software.
 
25
 * 
 
26
 *   The Initial Developer of the Original Code is: Sun Microsystems, Inc.
 
27
 * 
 
28
 *   Copyright: 2001 by Sun Microsystems, Inc.
 
29
 * 
 
30
 *   All Rights Reserved.
 
31
 * 
 
32
 ************************************************************************/
 
33
/*___INFO__MARK_END__*/
 
34
 
 
35
/* 
 
36
 * libs/spool/sge_spooling_berkeleydb.c
 
37
 */
 
38
 
 
39
#define MSG_BERKELEY_COULDNTCREATEDBHANDLE_IS _MESSAGE(70000, _("couldn't create berkeley db database handle: "SFN))
 
40
#define MSG_BERKELEY_COULDNTOPENDB_SIS _MESSAGE(70001, _("couldn't open berkeley database "SFQ": (%d) "SFN))
 
41
#define MSG_BERKELEY_COULDNTCLOSEDB_SIS _MESSAGE(70002, _("couldn't close berkeley database "SFQ": (%d) "SFN))
 
42
#define MSG_BERKELEY_NOCONNECTIONOPEN_S _MESSAGE(70003, _("no connection open to berkeley database "SFQ))
 
43
#define MSG_BERKELEY_CLOSEDDB_S _MESSAGE(70004, _("closed berkeley database "SFQ))
 
44
#define MSG_BERKELEY_COULDNTCREATEDB_SIS _MESSAGE(70005, _("couldn't open berkeley database "SFQ": (%d) "SFN))
 
45
#define MSG_BERKELEY_PUTERROR_SIS _MESSAGE(70006, _("error writing object with key "SFQ" into berkeley database: (%d) "SFN))
 
46
#define MSG_BERKELEY_QUERYERROR_SIS _MESSAGE(70007, _("error retrieving data ("SFQ") from berkeley database: (%d) "SFN))
 
47
#define MSG_BERKELEY_DELETEERROR_SIS _MESSAGE(70008, _("error deleting record with key "SFQ" from berkeley database: (%d) "SFN))
 
48
#define MSG_BERKELEY_NULLVALUEASKEY _MESSAGE(70010, _("null value given as object primary key"))
 
49
#define MSG_BERKELEY_TXNALREADYOPEN _MESSAGE(70017, _("cannot open new transaction: There is already one open"))
 
50
#define MSG_BERKELEY_ERRORSTARTINGTRANSACTION_IS _MESSAGE(70018, _("error starting a transaction: (%d) "SFN))
 
51
#define MSG_BERKELEY_TXNNOTOPEN _MESSAGE(70019, _("cannot close transaction: There is no open transaction"))
 
52
#define MSG_BERKELEY_ABORTINGTRANSACTION _MESSAGE(70020, _("aborting transaction (rollback)"))
 
53
#define MSG_BERKELEY_ERRORENDINGTRANSACTION_IS _MESSAGE(70021, _("error ending a transaction: (%d) "SFN))
 
54
#define MSG_BERKELEY_CANNOTRETRIEVELOGARCHIVE_IS _MESSAGE(70022, _("error retrieving berkeley db log archive: (%d) "SFN))
 
55
#define MSG_BERKELEY_CANNOTCHECKPOINT_IS _MESSAGE(70023, _("error checkpointing berkeley db: (%d) "SFN))
 
56
#define MSG_BERKELEY_TRANSACTIONEINVAL _MESSAGE(70024, _("invalid transaction command"))
 
57
#define MSG_BERKELEY_USINGBDBVERSION_S _MESSAGE(70025, _("using BerkeleyDB version "SFN))
 
58
#define MSG_BERKELEY_WRONGBDBVERSIONEXPECTING_SDD  _MESSAGE(70026, _("wrong BerkeleyDB version: Using "SFN", but exect major version = %d, minor version >= %d"))
 
59
#define MSG_BERKELEY_PACKERROR_SS _MESSAGE(70027, _("error packing object with key "SFQ": "SFN))
 
60
#define MSG_BERKELEY_PACKINITERROR_SS _MESSAGE(70028, _("error initializing packing buffer for object with key "SFQ": "SFN))
 
61
#define MSG_BERKELEY_UNPACKERROR_SS _MESSAGE(70029, _("error unpacking object with key "SFQ": "SFN))
 
62
#define MSG_BERKELEY_UNPACKINITERROR_SS _MESSAGE(70030, _("error initializing packing buffer while unpacking object with key "SFQ": "SFN))
 
63
#define MSG_BERKELEY_SETOPTIONTO_SS _MESSAGE(70031, _("setting spooling option "SFQ" to "SFQ))
 
64
 
 
65
/*
 
66
 * sge_bdb.c
 
67
 */
 
68
#define MSG_BERKELEY_DATABASEDIRDOESNTEXIST_S _MESSAGE(70101, _("database directory "SFN" doesn't exist"))
 
69
#define MSG_BERKELEY_COULDNTCREATEENVIRONMENT_IS _MESSAGE(70102, _("couldn't create database environment: (%d) "SFN))
 
70
#define MSG_BERKELEY_COULDNTOPENENVIRONMENT_SSIS _MESSAGE(70103, _("couldn't open database environment for server "SFQ", directory "SFQ": (%d) "SFN))
 
71
#define MSG_BERKELEY_COULDNTCLOSEENVIRONMENT_SIS _MESSAGE(70104, _("couldn't close database environment: "SFN": (%d) "SFN))
 
72
#define MSG_BERKELEY_COULDNTESETUPLOCKDETECTION_IS _MESSAGE(70105, _("couldn't setup deadlock detection: (%d) "SFN))
 
73
#define MSG_BERKELEY_COULDNTESETRPCSERVER_IS _MESSAGE(70106, _("couldn't set rpc server in database environment: (%d) "SFN))
 
74
#define MSG_BERKELEY_CONNECTION_LOST_SS _MESSAGE(70107, _("connection to rpc server "SFQ", database "SFQ" lost. Freeing all resources to prepare for a reconnect."))
 
75
#define MSG_BERKELEY_RUNRECOVERY _MESSAGE(70108, _("Corrupted database detected. Freeing all resources to prepare for a reconnect with recovery."))
 
76
#define MSG_BERKELEY_COULDNTSETLOCKERS_IS _MESSAGE(70109, _("couldn't set maximum number of lockers: (%d) "SFN))
 
77
#define MSG_BERKELEY_COULDNTSETOBJECTS_IS _MESSAGE(70110, _("couldn't set maximum number of locked objects: (%d) "SFN))
 
78
#define MSG_BERKELEY_COULDNTSETLOCKS_IS _MESSAGE(70111, _("couldn't set maximum number of locks: (%d) "SFN))
 
79
#define MSG_BERKELEY_CANNOTCREATECURSOR_IS _MESSAGE(70112, _("cannot create database cursor: (%d) "SFN))
 
80
#define MSG_BERKELEY_CANTSETENVFLAGS_IS _MESSAGE(70113, _("cannot set environment flags: (%d) "SFN))
 
81
#define MSG_BERKELEY_CANTSETENVCACHE_IS _MESSAGE(70114, _("cannot set environment cache size: (%d) "SFN))
 
82
#define MSG_BERKELEY_RPCSERVERLOSTHOME_SS _MESSAGE(70115, _("rpc server "SFQ" reported lost databasedirectory "SFQ". Freeing all resources to prepare for a reconnect."))
 
83
 
 
84
/*
 
85
 * sge_bdb_types.c
 
86
 */
 
87
#define MSG_BERKELEY_DBNOTINITIALIZED _MESSAGE(70200, _("database not initialized"))
 
88
 
 
89
#endif /* __MSG_SPOOLLIB_BERKELEYDB_H */