Blame channels/urbdrc/common/urbdrc_helpers.h

Packit Service 5a9772
/**
Packit Service 5a9772
 * FreeRDP: A Remote Desktop Protocol Implementation
Packit Service 5a9772
 * Server USB redirection channel - helper functions
Packit Service 5a9772
 *
Packit Service 5a9772
 * Copyright 2019 Armin Novak <armin.novak@thincast.com>
Packit Service 5a9772
 * Copyright 2019 Thincast Technologies GmbH
Packit Service 5a9772
 *
Packit Service 5a9772
 * Licensed under the Apache License, Version 2.0 (the "License");
Packit Service 5a9772
 * you may not use this file except in compliance with the License.
Packit Service 5a9772
 * You may obtain a copy of the License at
Packit Service 5a9772
 *
Packit Service 5a9772
 *	 http://www.apache.org/licenses/LICENSE-2.0
Packit Service 5a9772
 *
Packit Service 5a9772
 * Unless required by applicable law or agreed to in writing, software
Packit Service 5a9772
 * distributed under the License is distributed on an "AS IS" BASIS,
Packit Service 5a9772
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Packit Service 5a9772
 * See the License for the specific language governing permissions and
Packit Service 5a9772
 * limitations under the License.
Packit Service 5a9772
 */
Packit Service 5a9772
Packit Service 5a9772
#ifndef FREERDP_CHANNEL_URBDRC_HELPERS_H
Packit Service 5a9772
#define FREERDP_CHANNEL_URBDRC_HELPERS_H
Packit Service 5a9772
Packit Service 5a9772
#include <winpr/wtypes.h>
Packit Service 5a9772
Packit Service 5a9772
#ifdef __cplusplus
Packit Service 5a9772
extern "C"
Packit Service 5a9772
{
Packit Service 5a9772
#endif
Packit Service 5a9772
Packit Service 5a9772
#include <winpr/wlog.h>
Packit Service 5a9772
#include <winpr/stream.h>
Packit Service 5a9772
Packit Service 5a9772
	const char* urb_function_string(UINT16 urb);
Packit Service 5a9772
	const char* mask_to_string(UINT32 mask);
Packit Service 5a9772
	const char* interface_to_string(UINT32 id);
Packit Service 5a9772
	const char* call_to_string(BOOL client, UINT32 interface, UINT32 functionId);
Packit Service 5a9772
Packit Service 5a9772
	void urbdrc_dump_message(wLog* log, BOOL client, BOOL write, wStream* s);
Packit Service 5a9772
Packit Service 5a9772
#ifdef __cplusplus
Packit Service 5a9772
}
Packit Service 5a9772
#endif
Packit Service 5a9772
Packit Service 5a9772
#endif /* FREERDP_CHANNEL_URBDRC_HELPERS_H */