34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
/*-
|
|
* See the file LICENSE for redistribution information.
|
|
*
|
|
* Copyright (c) 2002,2008 Oracle. All rights reserved.
|
|
*
|
|
* $Id: ex_apprec.src,v 12.8 2008/01/08 20:58:24 bostic Exp $
|
|
*/
|
|
|
|
PREFIX ex_apprec
|
|
INCLUDE #include "ex_apprec.h"
|
|
|
|
/*
|
|
* This is the source file used to generate the application-specific recovery
|
|
* functions used by the ex_apprec example. It should be turned into usable
|
|
* source code (including a template for the recovery function itself) by
|
|
* invoking changing to the dist directory of the DB distribution and
|
|
* running the gen_rec.awk script there as follows:
|
|
*
|
|
* awk -f ./gen_rec.awk \
|
|
* -v source_file=../examples_c/ex_apprec/ex_apprec_auto.c \
|
|
* -v header_file=../examples_c/ex_apprec/ex_apprec_auto.h \
|
|
* -v template_file=../examples_c/ex_apprec/ex_apprec_template \
|
|
* < ../examples_c/ex_apprec/ex_apprec.src
|
|
*/
|
|
|
|
/*
|
|
* mkdir: used to create a directory
|
|
*
|
|
* dirname: relative or absolute pathname of the directory to be created
|
|
*/
|
|
BEGIN mkdir 42 10000
|
|
DBT dirname DBT s
|
|
END
|