diff --git a/Makefile.am b/Makefile.am index c75735c1..3cd93d5f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -35,15 +35,17 @@ DIST_SUBDIRS = \ src/guacenc \ src/guaclog \ src/pulse \ + src/protocols/ball \ src/protocols/kubernetes \ src/protocols/rdp \ src/protocols/ssh \ src/protocols/telnet \ src/protocols/vnc -SUBDIRS = \ - src/libguac \ - src/common +SUBDIRS = \ + src/libguac \ + src/common \ + src/protocols/ball if ENABLE_COMMON_SSH SUBDIRS += src/common-ssh diff --git a/configure.ac b/configure.ac index e74865b8..1a664d1f 100644 --- a/configure.ac +++ b/configure.ac @@ -1140,6 +1140,7 @@ AC_CONFIG_FILES([Makefile src/guaclog/Makefile src/guaclog/man/guaclog.1 src/pulse/Makefile + src/protocols/ball/Makefile src/protocols/kubernetes/Makefile src/protocols/rdp/Makefile src/protocols/rdp/tests/Makefile diff --git a/src/protocols/ball/Makefile.am b/src/protocols/ball/Makefile.am new file mode 100644 index 00000000..c2d379de --- /dev/null +++ b/src/protocols/ball/Makefile.am @@ -0,0 +1,20 @@ +AUTOMAKE_OPTIONS = foreign + +ACLOCAL_AMFLAGS = -I m4 +AM_FLAGS = -Werror -Wall -pedantic + +lib_LTLIBRARIES = libguac-client-ball.la + +libguac_client_ball_la_SOURCES = \ + ball.c + +libguac_client_ball_la_CFLAGS = \ + -Werror -Wall -Iinclude \ + @LIBGUAC_INCLUDE@ + +libguac_client_ball_la_LIBADD = \ + @COMMON_LTLIB@ \ + @LIBGUAC_LTLIB@ + +libguac_client_ball_la_LDFLAGS = \ + -version-info 0:0:0 diff --git a/src/protocols/ball/ball.c b/src/protocols/ball/ball.c new file mode 100644 index 00000000..d8643f9b --- /dev/null +++ b/src/protocols/ball/ball.c @@ -0,0 +1,33 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ + +#include + +#include + +const char* TUTORIAL_ARGS[] = { NULL }; + +int guac_client_init(guac_client* client) { + + client->args = TUTORIAL_ARGS; + + return 0; + +} +