/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright (c) 1996 Sun Microsystems, Inc. All Rights Reserved
*
* module:
*
* purpose:
* general defines for use throughout the program
*/
#ifndef _FILESYNC_H
#define _FILESYNC_H
#pragma ident "%W% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
/*
* arbitrary limits
*/
/*
* sanity check limits
*/
/*
* special types used in the program
*/
typedef enum {
FALSE = 0,
} bool_t;
typedef enum {
} side_t;
/*
* values for debug mask
*/
/*
* values for error codes
*/
/* errors that will prevent reconciliation from taking place */
/* errors that will cause reconciliation to stop with -h specified */
/*
* program defaults
*/
/*
* global variables for command line options
*/
/*
* information gained during startup that other people may need
*/
/* error and warning routines */
void confirm(char *); /* ask user if he's sure */
void nomem(char *); /* die from malloc failure */
/* routines for dealing with strings and file names */
const char *prefix(const char *, const char *); /* does s1 begin with s2 */
char *qualify(char *); /* validate and fully qualify */
char *expand(char *); /* expand variables in name */
extern int lex_linenum; /* current input file line number */
const char *noblanks(const char *); /* escape strings for embedded blanks */
#ifdef __cplusplus
}
#endif
#endif /* _FILESYNC_H */