Blame client/iOS/FreeRDP/ios_freerdp_events.h

Packit 1fb8d4
/*
Packit Service 5a9772
 RDP event queuing
Packit Service 5a9772
Packit 1fb8d4
 Copyright 2013 Thincast Technologies GmbH, Author: Dorian Johnson
Packit Service 5a9772
Packit Service 5a9772
 This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
Packit Service 5a9772
 If a copy of the MPL was not distributed with this file, You can obtain one at
Packit Service 5a9772
 http://mozilla.org/MPL/2.0/.
Packit 1fb8d4
 */
Packit 1fb8d4
Packit 1fb8d4
#ifndef IOS_RDP_EVENT_H
Packit 1fb8d4
#define IOS_RDP_EVENT_H
Packit 1fb8d4
Packit 1fb8d4
#import <Foundation/Foundation.h>
Packit 1fb8d4
#import "ios_freerdp.h"
Packit 1fb8d4
Packit 1fb8d4
// For UI: use to send events
Packit Service 5a9772
BOOL ios_events_send(mfInfo *mfi, NSDictionary *event_description);
Packit 1fb8d4
Packit 1fb8d4
// For connection runloop: use to poll for queued input events
Packit Service 5a9772
BOOL ios_events_get_fds(mfInfo *mfi, void **read_fds, int *read_count, void **write_fds,
Packit Service 5a9772
                        int *write_count);
Packit Service 5a9772
BOOL ios_events_check_fds(mfInfo *mfi, fd_set *rfds);
Packit Service 5a9772
BOOL ios_events_create_pipe(mfInfo *mfi);
Packit Service 5a9772
void ios_events_free_pipe(mfInfo *mfi);
Packit 1fb8d4
Packit 1fb8d4
#endif /* IOS_RDP_EVENT_H */