1 /* this is a file autogenerated by spice_codegen.py */ 2 /* 3 Copyright (C) 2013 Red Hat, Inc. 4 5 This library is free software; you can redistribute it and/or 6 modify it under the terms of the GNU Lesser General Public 7 License as published by the Free Software Foundation; either 8 version 2.1 of the License, or (at your option) any later version. 9 10 This library is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 Lesser General Public License for more details. 14 15 You should have received a copy of the GNU Lesser General Public 16 License along with this library; if not, see <http://www.gnu.org/licenses/>. 17 */ 18 19 #include "common/client_marshallers.h" 20 #include <spice/protocol.h> 21 #include "common/marshaller.h" 22 23 #ifndef _H_GENERATED_CLIENT_MARSHALLERS 24 #define _H_GENERATED_CLIENT_MARSHALLERS 25 26 SPICE_BEGIN_DECLS 27 28 typedef struct { 29 void (*msgc_ack_sync)(SpiceMarshaller *m, SpiceMsgcAckSync *msg); 30 void (*msg_SpiceMsgEmpty)(SpiceMarshaller *m, SpiceMsgEmpty *msg); 31 void (*msgc_pong)(SpiceMarshaller *m, SpiceMsgPing *msg); 32 void (*msg_SpiceMsgData)(SpiceMarshaller *m, SpiceMsgData *msg); 33 void (*msgc_disconnecting)(SpiceMarshaller *m, SpiceMsgDisconnect *msg); 34 void (*msgc_main_client_info)(SpiceMarshaller *m, SpiceMsgcClientInfo *msg); 35 void (*msgc_main_mouse_mode_request)(SpiceMarshaller *m, SpiceMsgcMainMouseModeRequest *msg); 36 void (*msgc_main_agent_start)(SpiceMarshaller *m, SpiceMsgMainAgentTokens *msg); 37 void (*msgc_main_agent_token)(SpiceMarshaller *m, SpiceMsgMainAgentTokens *msg); 38 void (*msgc_main_migrate_dst_do_seamless)(SpiceMarshaller *m, SpiceMsgcMainMigrateDstDoSeamless *msg); 39 void (*msgc_display_init)(SpiceMarshaller *m, SpiceMsgcDisplayInit *msg); 40 void (*msgc_display_stream_report)(SpiceMarshaller *m, SpiceMsgcDisplayStreamReport *msg); 41 void (*msgc_display_preferred_compression)(SpiceMarshaller *m, SpiceMsgcDisplayPreferredCompression *msg); 42 void (*msgc_display_gl_draw_done)(SpiceMarshaller *m, SpiceMsgcDisplayGlDrawDone *msg); 43 void (*msgc_display_preferred_video_codec_type)(SpiceMarshaller *m, SpiceMsgcDisplayPreferredVideoCodecType *msg); 44 void (*msgc_inputs_key_down)(SpiceMarshaller *m, SpiceMsgcKeyDown *msg); 45 void (*msgc_inputs_key_up)(SpiceMarshaller *m, SpiceMsgcKeyUp *msg); 46 void (*msgc_inputs_key_modifiers)(SpiceMarshaller *m, SpiceMsgcKeyModifiers *msg); 47 void (*msgc_inputs_mouse_motion)(SpiceMarshaller *m, SpiceMsgcMouseMotion *msg); 48 void (*msgc_inputs_mouse_position)(SpiceMarshaller *m, SpiceMsgcMousePosition *msg); 49 void (*msgc_inputs_mouse_press)(SpiceMarshaller *m, SpiceMsgcMousePress *msg); 50 void (*msgc_inputs_mouse_release)(SpiceMarshaller *m, SpiceMsgcMouseRelease *msg); 51 void (*msgc_record_data)(SpiceMarshaller *m, SpiceMsgPlaybackPacket *msg); 52 void (*msgc_record_mode)(SpiceMarshaller *m, SpiceMsgPlaybackMode *msg); 53 void (*msgc_record_start_mark)(SpiceMarshaller *m, SpiceMsgcRecordStartMark *msg); 54 #ifdef USE_SMARTCARD 55 void (*msgc_smartcard_data)(SpiceMarshaller *m, VSCMsgHeader *msg); 56 #endif /* USE_SMARTCARD */ 57 void (*msg_SpiceMsgCompressedData)(SpiceMarshaller *m, SpiceMsgCompressedData *msg); 58 void (*msgc_port_event)(SpiceMarshaller *m, SpiceMsgcPortEvent *msg); 59 } SpiceMessageMarshallers; 60 61 SpiceMessageMarshallers *spice_message_marshallers_get(void); 62 63 64 SPICE_END_DECLS 65 66 #endif 67