scuffed-code/icu4c/source/extra/ustdio/uscanf.h
George Rhoten f1ed296217 ICU-3499 Start scanf merge.
X-SVN-Rev: 14856
2004-04-04 20:44:45 +00:00

51 lines
1.2 KiB
C

/*
******************************************************************************
*
* Copyright (C) 1998-2004, International Business Machines
* Corporation and others. All Rights Reserved.
*
******************************************************************************
*
* File uscanf.h
*
* Modification History:
*
* Date Name Description
* 12/02/98 stephen Creation.
* 03/13/99 stephen Modified for new C API.
******************************************************************************
*/
#ifndef USCANF_H
#define USCANF_H
#include "unicode/utypes.h"
#if !UCONFIG_NO_FORMATTING
#include "unicode/ustdio.h"
#include "ufmt_cmn.h"
/**
* Struct encapsulating a single uscanf format specification.
*/
struct u_scanf_spec_info {
int32_t fWidth; /* Width */
UChar fSpec; /* Format specification */
UChar fPadChar; /* Padding character */
UBool fIsLongDouble; /* L flag */
UBool fIsShort; /* h flag */
UBool fIsLong; /* l flag */
UBool fIsLongLong; /* ll flag */
};
typedef struct u_scanf_spec_info u_scanf_spec_info;
#endif /* #if !UCONFIG_NO_FORMATTING */
#endif