!C99Shell v. 1.0 pre-release build #16!

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/usr/share/doc/db4-devel-4.3.27/api_c/   drwxr-xr-x
Free 3.8 GB of 27.03 GB (14.05%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     seq_open.html (5.08 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Berkeley DB: DB_SEQUENCE->open

DB_SEQUENCE->open

API Ref

#include <db.h>

int DB_SEQUENCE->open(DB_SEQUENCE *seq, DB_TXN *txnid, DBT *key, u_int32_t flags);

int DB_SEQUENCE->get_dbp(DB_SEQUENCE *seq, DB **dbp);

int DB_SEQUENCE->get_key(DB_SEQUENCE *seq, DBT *key);

int


Description: DB_SEQUENCE->open

The DB_SEQUENCE->open method opens the sequence represented by the key. The key must be compatible with the underlying database specified in the corresponding call to db_sequence_create.

Parameters

key
The key specifies which record in the database stores the persistent sequence data.
flags
The flags parameter must be set to 0 or by bitwise inclusively OR'ing together one or more of the following values:
DB_AUTO_COMMIT
Enclose the DB_SEQUENCE->open call within a transaction. If the call succeeds, the open operation will be recoverable. If the DB_CREATE flag is specified and the call fails, no sequence will have been created.
DB_CREATE
Create the sequence. If the sequence does not already exist and the DB_CREATE flag is not specified, the DB_SEQUENCE->open will fail.
DB_EXCL
Return an error if the sequence already exists. The DB_EXCL flag is only meaningful when specified with the DB_CREATE flag.
DB_THREAD
Cause the DB_SEQUENCE handle returned by DB_SEQUENCE->open to be free-threaded; that is, usable by multiple threads within a single address space.
txnid
If the operation is to be transaction-protected, (other than by specifying the DB_AUTO_COMMIT flag), the txnid parameter is a transaction handle returned from DB_ENV->txn_begin; otherwise, NULL. Note that transactionally protected operations on a DB_SEQUENCE handle require the DB_SEQUENCE handle itself be transactionally protected during its open if the open creates the sequence.

Description: DB_SEQUENCE->get_dbp

The DB_SEQUENCE->get_dbp method returns the database handle.

Parameters

dbp
The dbp parameter references memory into which a pointer to the database handle is copied.

The DB_SEQUENCE->get_dbp method may be called at any time during the life of the application.

The DB_SEQUENCE->get_dbp method returns a non-zero error value on failure and 0 on success.


Description: DB_SEQUENCE->get_key

The DB_SEQUENCE->get_key method returns the key for the sequence.

Parameters

key
The key parameter references memory into which a pointer to the key data is copied.

The DB_SEQUENCE->get_key method may be called at any time during the life of the application.

The DB_SEQUENCE->get_key method returns a non-zero error value on failure and 0 on success.


Class

DB_SEQUENCE

See Also

Sequences and Related Methods

APIRef

Copyright (c) 1996-2004 Sleepycat Software, Inc. - All rights reserved.


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0028 ]--