TUTORIAL: Add skeleton ball protocol files.
This commit is contained in:
parent
68c5dd1730
commit
6bca037e01
@ -35,6 +35,7 @@ DIST_SUBDIRS = \
|
||||
src/guacenc \
|
||||
src/guaclog \
|
||||
src/pulse \
|
||||
src/protocols/ball \
|
||||
src/protocols/kubernetes \
|
||||
src/protocols/rdp \
|
||||
src/protocols/ssh \
|
||||
@ -43,7 +44,8 @@ DIST_SUBDIRS = \
|
||||
|
||||
SUBDIRS = \
|
||||
src/libguac \
|
||||
src/common
|
||||
src/common \
|
||||
src/protocols/ball
|
||||
|
||||
if ENABLE_COMMON_SSH
|
||||
SUBDIRS += src/common-ssh
|
||||
|
@ -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
|
||||
|
20
src/protocols/ball/Makefile.am
Normal file
20
src/protocols/ball/Makefile.am
Normal file
@ -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
|
33
src/protocols/ball/ball.c
Normal file
33
src/protocols/ball/ball.c
Normal file
@ -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 <guacamole/client.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
const char* TUTORIAL_ARGS[] = { NULL };
|
||||
|
||||
int guac_client_init(guac_client* client) {
|
||||
|
||||
client->args = TUTORIAL_ARGS;
|
||||
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user