summaryrefslogtreecommitdiffstats
path: root/xup
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2017-03-12 09:35:00 -0700
committerjsorg71 <jay.sorg@gmail.com>2017-03-14 00:21:48 -0700
commit6ed4c969f4d646a7751fe2da29ba94eddd3d6477 (patch)
tree951c72b16a0be1a1cc8c77e6d2ecaa1f25f2bcd6 /xup
parent8be83473b72c926d3c056fd8a81965dbce0a0e5e (diff)
downloadxrdp-proprietary-6ed4c969f4d646a7751fe2da29ba94eddd3d6477.tar.gz
xrdp-proprietary-6ed4c969f4d646a7751fe2da29ba94eddd3d6477.zip
Eliminate APP_CC and DEFAULT_CC
Diffstat (limited to 'xup')
-rw-r--r--xup/xup.c92
1 files changed, 46 insertions, 46 deletions
diff --git a/xup/xup.c b/xup/xup.c
index 5b34779c..91eb0563 100644
--- a/xup/xup.c
+++ b/xup/xup.c
@@ -32,11 +32,11 @@
#define LLOGLN(_level, _args) \
do { if (_level < LOG_LEVEL) { g_writeln _args ; } } while (0)
-static int APP_CC
+static int
lib_mod_process_message(struct mod *mod, struct stream *s);
/******************************************************************************/
-static int APP_CC
+static int
lib_send_copy(struct mod *mod, struct stream *s)
{
return trans_write_copy_s(mod->trans, s);
@@ -44,7 +44,7 @@ lib_send_copy(struct mod *mod, struct stream *s)
/******************************************************************************/
/* return error */
-int DEFAULT_CC
+int
lib_mod_start(struct mod *mod, int w, int h, int bpp)
{
LIB_DEBUG(mod, "in lib_mod_start");
@@ -56,7 +56,7 @@ lib_mod_start(struct mod *mod, int w, int h, int bpp)
}
/******************************************************************************/
-static int APP_CC
+static int
lib_mod_log_peer(struct mod *mod)
{
int my_pid;
@@ -83,7 +83,7 @@ lib_mod_log_peer(struct mod *mod)
}
/******************************************************************************/
-static int APP_CC
+static int
lib_data_in(struct trans *trans)
{
struct mod *self;
@@ -140,7 +140,7 @@ lib_data_in(struct trans *trans)
/******************************************************************************/
/* return error */
-int DEFAULT_CC
+int
lib_mod_connect(struct mod *mod)
{
int error;
@@ -329,7 +329,7 @@ lib_mod_connect(struct mod *mod)
/******************************************************************************/
/* return error */
-int DEFAULT_CC
+int
lib_mod_event(struct mod *mod, int msg, tbus param1, tbus param2,
tbus param3, tbus param4)
{
@@ -400,7 +400,7 @@ lib_mod_event(struct mod *mod, int msg, tbus param1, tbus param2,
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
process_server_fill_rect(struct mod *mod, struct stream *s)
{
int rv;
@@ -419,7 +419,7 @@ process_server_fill_rect(struct mod *mod, struct stream *s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
process_server_screen_blt(struct mod *mod, struct stream *s)
{
int rv;
@@ -442,7 +442,7 @@ process_server_screen_blt(struct mod *mod, struct stream *s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
process_server_paint_rect(struct mod *mod, struct stream *s)
{
int rv;
@@ -475,7 +475,7 @@ process_server_paint_rect(struct mod *mod, struct stream *s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
process_server_set_clip(struct mod *mod, struct stream *s)
{
int rv;
@@ -494,7 +494,7 @@ process_server_set_clip(struct mod *mod, struct stream *s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
process_server_reset_clip(struct mod *mod, struct stream *s)
{
int rv;
@@ -505,7 +505,7 @@ process_server_reset_clip(struct mod *mod, struct stream *s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
process_server_set_fgcolor(struct mod *mod, struct stream *s)
{
int rv;
@@ -518,7 +518,7 @@ process_server_set_fgcolor(struct mod *mod, struct stream *s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
process_server_set_bgcolor(struct mod *mod, struct stream *s)
{
int rv;
@@ -531,7 +531,7 @@ process_server_set_bgcolor(struct mod *mod, struct stream *s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
process_server_set_opcode(struct mod *mod, struct stream *s)
{
int rv;
@@ -544,7 +544,7 @@ process_server_set_opcode(struct mod *mod, struct stream *s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
process_server_set_pen(struct mod *mod, struct stream *s)
{
int rv;
@@ -559,7 +559,7 @@ process_server_set_pen(struct mod *mod, struct stream *s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
process_server_draw_line(struct mod *mod, struct stream *s)
{
int rv;
@@ -578,7 +578,7 @@ process_server_draw_line(struct mod *mod, struct stream *s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
process_server_set_cursor(struct mod *mod, struct stream *s)
{
int rv;
@@ -597,7 +597,7 @@ process_server_set_cursor(struct mod *mod, struct stream *s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
process_server_create_os_surface(struct mod *mod, struct stream *s)
{
int rv;
@@ -614,7 +614,7 @@ process_server_create_os_surface(struct mod *mod, struct stream *s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
process_server_switch_os_surface(struct mod *mod, struct stream *s)
{
int rv;
@@ -627,7 +627,7 @@ process_server_switch_os_surface(struct mod *mod, struct stream *s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
process_server_delete_os_surface(struct mod *mod, struct stream *s)
{
int rv;
@@ -640,7 +640,7 @@ process_server_delete_os_surface(struct mod *mod, struct stream *s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
process_server_paint_rect_os(struct mod *mod, struct stream *s)
{
int rv;
@@ -666,7 +666,7 @@ process_server_paint_rect_os(struct mod *mod, struct stream *s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
process_server_set_hints(struct mod *mod, struct stream *s)
{
int rv;
@@ -681,7 +681,7 @@ process_server_set_hints(struct mod *mod, struct stream *s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
process_server_window_new_update(struct mod *mod, struct stream *s)
{
int flags;
@@ -764,7 +764,7 @@ process_server_window_new_update(struct mod *mod, struct stream *s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
process_server_window_delete(struct mod *mod, struct stream *s)
{
int window_id;
@@ -778,7 +778,7 @@ process_server_window_delete(struct mod *mod, struct stream *s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
process_server_window_show(struct mod* mod, struct stream* s)
{
int window_id;
@@ -797,7 +797,7 @@ process_server_window_show(struct mod* mod, struct stream* s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
process_server_add_char(struct mod *mod, struct stream *s)
{
int rv;
@@ -825,7 +825,7 @@ process_server_add_char(struct mod *mod, struct stream *s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
process_server_add_char_alpha(struct mod *mod, struct stream *s)
{
int rv;
@@ -853,7 +853,7 @@ process_server_add_char_alpha(struct mod *mod, struct stream *s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
process_server_draw_text(struct mod *mod, struct stream *s)
{
int rv;
@@ -896,7 +896,7 @@ process_server_draw_text(struct mod *mod, struct stream *s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
process_server_create_os_surface_bpp(struct mod *mod, struct stream *s)
{
int rv;
@@ -916,7 +916,7 @@ process_server_create_os_surface_bpp(struct mod *mod, struct stream *s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
process_server_paint_rect_bpp(struct mod *mod, struct stream *s)
{
int rv;
@@ -951,7 +951,7 @@ process_server_paint_rect_bpp(struct mod *mod, struct stream *s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
process_server_composite(struct mod *mod, struct stream *s)
{
int rv;
@@ -1006,7 +1006,7 @@ process_server_composite(struct mod *mod, struct stream *s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
process_server_set_pointer_ex(struct mod *mod, struct stream *s)
{
int rv;
@@ -1029,7 +1029,7 @@ process_server_set_pointer_ex(struct mod *mod, struct stream *s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
send_paint_rect_ack(struct mod *mod, int flags, int x, int y, int cx, int cy,
int frame_id)
{
@@ -1057,7 +1057,7 @@ send_paint_rect_ack(struct mod *mod, int flags, int x, int y, int cx, int cy,
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
process_server_paint_rect_shmem(struct mod *amod, struct stream *s)
{
int rv;
@@ -1122,7 +1122,7 @@ process_server_paint_rect_shmem(struct mod *amod, struct stream *s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
send_paint_rect_ex_ack(struct mod *mod, int flags, int frame_id)
{
int len;
@@ -1145,7 +1145,7 @@ send_paint_rect_ex_ack(struct mod *mod, int flags, int frame_id)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
process_server_paint_rect_shmem_ex(struct mod *amod, struct stream *s)
{
int num_drects;
@@ -1246,7 +1246,7 @@ process_server_paint_rect_shmem_ex(struct mod *amod, struct stream *s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
lib_mod_process_orders(struct mod *mod, int type, struct stream *s)
{
int rv;
@@ -1355,7 +1355,7 @@ lib_mod_process_orders(struct mod *mod, int type, struct stream *s)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
lib_send_client_info(struct mod *mod)
{
struct stream *s;
@@ -1379,7 +1379,7 @@ lib_send_client_info(struct mod *mod)
/******************************************************************************/
/* return error */
-static int APP_CC
+static int
lib_mod_process_message(struct mod *mod, struct stream *s)
{
int num_orders;
@@ -1461,7 +1461,7 @@ lib_mod_process_message(struct mod *mod, struct stream *s)
/******************************************************************************/
/* return error */
-int DEFAULT_CC
+int
lib_mod_signal(struct mod *mod)
{
g_writeln("lib_mod_signal: not used");
@@ -1470,7 +1470,7 @@ lib_mod_signal(struct mod *mod)
/******************************************************************************/
/* return error */
-int DEFAULT_CC
+int
lib_mod_end(struct mod *mod)
{
if (mod->screen_shmem_pixels != 0)
@@ -1483,7 +1483,7 @@ lib_mod_end(struct mod *mod)
/******************************************************************************/
/* return error */
-int DEFAULT_CC
+int
lib_mod_set_param(struct mod *mod, const char *name, const char *value)
{
if (g_strcasecmp(name, "username") == 0)
@@ -1512,7 +1512,7 @@ lib_mod_set_param(struct mod *mod, const char *name, const char *value)
/******************************************************************************/
/* return error */
-int DEFAULT_CC
+int
lib_mod_get_wait_objs(struct mod *mod, tbus *read_objs, int *rcount,
tbus *write_objs, int *wcount, int *timeout)
{
@@ -1529,7 +1529,7 @@ lib_mod_get_wait_objs(struct mod *mod, tbus *read_objs, int *rcount,
/******************************************************************************/
/* return error */
-int DEFAULT_CC
+int
lib_mod_check_wait_objs(struct mod *mod)
{
int rv;
@@ -1548,7 +1548,7 @@ lib_mod_check_wait_objs(struct mod *mod)
/******************************************************************************/
/* return error */
-int DEFAULT_CC
+int
lib_mod_frame_ack(struct mod *amod, int flags, int frame_id)
{
LLOGLN(10, ("lib_mod_frame_ack: flags 0x%8.8x frame_id %d", flags, frame_id));