FreeRDP
asn1.c File Reference
#include <winpr/asn1.h>
#include <winpr/crt.h>

Functions

ASN1module_t ASN1_CreateModule (ASN1uint32_t nVersion, ASN1encodingrule_e eRule, ASN1uint32_t dwFlags, ASN1uint32_t cPDU, const ASN1GenericFun_t apfnEncoder[], const ASN1GenericFun_t apfnDecoder[], const ASN1FreeFun_t apfnFreeMemory[], const ASN1uint32_t acbStructSize[], ASN1magic_t nModuleName)
 
void ASN1_CloseModule (ASN1module_t pModule)
 
ASN1error_e ASN1_CreateEncoder (ASN1module_t pModule, ASN1encoding_t *ppEncoderInfo, ASN1octet_t *pbBuf, ASN1uint32_t cbBufSize, ASN1encoding_t pParent)
 
ASN1error_e ASN1_Encode (ASN1encoding_t pEncoderInfo, void *pDataStruct, ASN1uint32_t nPduNum, ASN1uint32_t dwFlags, ASN1octet_t *pbBuf, ASN1uint32_t cbBufSize)
 
void ASN1_CloseEncoder (ASN1encoding_t pEncoderInfo)
 
ASN1error_e ASN1EncSetError (ASN1encoding_t enc, ASN1error_e err)
 
ASN1error_e ASN1DecSetError (ASN1decoding_t dec, ASN1error_e err)
 
void ASN1_FreeEncoded (ASN1encoding_t pEncoderInfo, void *pBuf)
 
void ASN1_FreeDecoded (ASN1decoding_t pDecoderInfo, void *pDataStruct, ASN1uint32_t nPduNum)
 
ASN1error_e ASN1_CreateDecoder (ASN1module_t pModule, ASN1decoding_t *ppDecoderInfo, ASN1octet_t *pbBuf, ASN1uint32_t cbBufSize, ASN1decoding_t pParent)
 
ASN1error_e ASN1_Decode (ASN1decoding_t pDecoderInfo, void **ppDataStruct, ASN1uint32_t nPduNum, ASN1uint32_t dwFlags, ASN1octet_t *pbBuf, ASN1uint32_t cbBufSize)
 

Function Documentation

void ASN1_CloseEncoder ( ASN1encoding_t  pEncoderInfo)
void ASN1_CloseModule ( ASN1module_t  pModule)
ASN1error_e ASN1_CreateDecoder ( ASN1module_t  pModule,
ASN1decoding_t *  ppDecoderInfo,
ASN1octet_t pbBuf,
ASN1uint32_t  cbBufSize,
ASN1decoding_t  pParent 
)
ASN1error_e ASN1_CreateEncoder ( ASN1module_t  pModule,
ASN1encoding_t *  ppEncoderInfo,
ASN1octet_t pbBuf,
ASN1uint32_t  cbBufSize,
ASN1encoding_t  pParent 
)
ASN1module_t ASN1_CreateModule ( ASN1uint32_t  nVersion,
ASN1encodingrule_e  eRule,
ASN1uint32_t  dwFlags,
ASN1uint32_t  cPDU,
const ASN1GenericFun_t  apfnEncoder[],
const ASN1GenericFun_t  apfnDecoder[],
const ASN1FreeFun_t  apfnFreeMemory[],
const ASN1uint32_t  acbStructSize[],
ASN1magic_t  nModuleName 
)

WinPR: Windows Portable Runtime ASN.1 Encoding & Decoding Engine

Copyright 2012 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

ASN1error_e ASN1_Decode ( ASN1decoding_t  pDecoderInfo,
void **  ppDataStruct,
ASN1uint32_t  nPduNum,
ASN1uint32_t  dwFlags,
ASN1octet_t pbBuf,
ASN1uint32_t  cbBufSize 
)
ASN1error_e ASN1_Encode ( ASN1encoding_t  pEncoderInfo,
void pDataStruct,
ASN1uint32_t  nPduNum,
ASN1uint32_t  dwFlags,
ASN1octet_t pbBuf,
ASN1uint32_t  cbBufSize 
)

Here is the call graph for this function:

void ASN1_FreeDecoded ( ASN1decoding_t  pDecoderInfo,
void pDataStruct,
ASN1uint32_t  nPduNum 
)
void ASN1_FreeEncoded ( ASN1encoding_t  pEncoderInfo,
void pBuf 
)

Here is the caller graph for this function:

ASN1error_e ASN1DecSetError ( ASN1decoding_t  dec,
ASN1error_e  err 
)
ASN1error_e ASN1EncSetError ( ASN1encoding_t  enc,
ASN1error_e  err 
)

Here is the caller graph for this function: