scuffed-code/icu4c/source/extra/ustdio/uscanf.h

51 lines
1.2 KiB
C
Raw Normal View History

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