FreeRDP
|
#include <freerdp/config.h>
#include <freerdp/channels/log.h>
#include <freerdp/utils/encoded_types.h>
#include <math.h>
Macros | |
#define | TAG CHANNELS_TAG("encoded_types") |
Enumerations | |
enum | EncodedTypeByteCount { ONE_BYTE_VAL , TWO_BYTE_VAL , THREE_BYTE_VAL , FOUR_BYTE_VAL , FIVE_BYTE_VAL , SIX_BYTE_VAL , SEVEN_BYTE_VAL , EIGHT_BYTE_VAL } |
enum | EncodedTypeSign { POSITIVE_VAL , NEGATIVE_VAL } |
Functions | |
BOOL | freerdp_read_four_byte_signed_integer (wStream *s, INT32 *value) |
BOOL | freerdp_write_four_byte_signed_integer (wStream *s, INT32 value) |
BOOL | freerdp_read_four_byte_float (wStream *s, double *value) |
BOOL | freerdp_read_four_byte_float_exp (wStream *s, double *value, BYTE *exp) |
BOOL | freerdp_write_four_byte_float (wStream *s, double value) |
#define TAG CHANNELS_TAG("encoded_types") |
FreeRDP: A Remote Desktop Protocol Implementation
Helper functions to parse encoded types into regular ones
Copyright 2023 Pascal Nowack Pasca l.No wack@ gmx. de
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.
enum EncodedTypeByteCount |
enum EncodedTypeSign |
BOOL freerdp_read_four_byte_float | ( | wStream * | s, |
double * | value | ||
) |
BOOL freerdp_read_four_byte_signed_integer | ( | wStream * | s, |
INT32 * | value | ||
) |
BOOL freerdp_write_four_byte_float | ( | wStream * | s, |
double | value | ||
) |
BOOL freerdp_write_four_byte_signed_integer | ( | wStream * | s, |
INT32 | value | ||
) |