Objective Systems, Inc.  
Home
About ASN.1
Products
Free Software
Documents
Services
Resources
Resellers
Customers
Careers
About Us
Contact Us
 

Google


Objective Systems, Inc.

rtPrintStream.h

Go to the documentation of this file.
00001 /* 00002 * Copyright (C) 1997-2004 by Objective Systems, Inc. 00003 * 00004 * This software is furnished under a license and may be used and copied 00005 * only in accordance with the terms of such license and with the 00006 * inclusion of the above copyright notice. This software or any other 00007 * copies thereof may not be provided or otherwise made available to any 00008 * other person. No title to and ownership of the software is hereby 00009 * transferred. 00010 * 00011 * The information in this software is subject to change without notice 00012 * and should not be construed as a commitment by Objective Systems, Inc. 00013 * 00014 * PROPRIETARY NOTICE 00015 * 00016 * This software is an unpublished work subject to a confidentiality agreement 00017 * and is protected by copyright and trade secret law. Unauthorized copying, 00018 * redistribution or other use of this work is prohibited. 00019 * 00020 * The above notice of copyright on this source code product does not indicate 00021 * any actual or intended publication of such source code. 00022 * 00023 *****************************************************************************/ 00029 #ifndef _RTPRINTSTREAM_H_ 00030 #define _RTPRINTSTREAM_H_ 00031 00032 #include <stdarg.h> 00033 #include "asn1type.h" 00034 #include "asn1intl.h" 00035 00036 #ifdef __cplusplus 00037 extern "C" { 00038 #endif 00039 00045 /* 00049 typedef void (*rtPrintCallback)(void* pPrntStrmInfo, ASN1ConstCharPtr fmtspec, 00050 va_list arglist); 00051 00055 typedef struct OSRTPrintStream { 00056 rtPrintCallback pfPrintFunc; 00057 void * pPrntStrmInfo; 00058 }OSRTPrintStream; 00059 00064 extern OSRTPrintStream g_PrintStream; 00079 EXTERNRT int rtSetPrintStream(ASN1CTXT *pctxt, rtPrintCallback myCallback, 00080 void * pStrmInfo ); 00081 00094 EXTERNRT int rtSetGlobalPrintStream(rtPrintCallback myCallback, 00095 void * pStrmInfo); 00096 00109 EXTERNRT int rtPrintToStream(ASN1CTXT *pctxt,ASN1ConstCharPtr fmtspec, ...); 00110 00123 EXTERNRT int rtDiagToStream(ASN1CTXT *pctxt,ASN1ConstCharPtr fmtspec, 00124 va_list arglist); 00125 00134 EXTERNRT int rtPrintStreamRelease(ASN1CTXT *pctxt); 00135 #ifdef __cplusplus 00136 } 00137 #endif 00138 00139 #endif /* _RTPRINTSTREAM_H_ */ 00140

Copyright © 1997-2004 Objective Systems,Inc.
All Rights Reserved.
This document may be distributed in any form, electronic
or otherwise, provided that it is distributed in its entirety
and that the copyright and this notice are included.

This file was last modified on 1 Oct 2004.
ASN1C C/C++ Common Runtime, ASN1C v5.7x