diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-12-07 09:24:37 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-12-07 09:24:37 +0100 |
commit | 349c023757d351d9e59b93bcfad7d06874c7d2ec (patch) | |
tree | 400d8dee168339b8668e2390211673a74397b98b /freerdp2-session-wrapper.c | |
parent | c8cbafbcd7e4ff27f776631e8bcd97031fc8c10e (diff) | |
download | lightdm-remote-session-freerdp2-349c023757d351d9e59b93bcfad7d06874c7d2ec.tar.gz lightdm-remote-session-freerdp2-349c023757d351d9e59b93bcfad7d06874c7d2ec.tar.bz2 lightdm-remote-session-freerdp2-349c023757d351d9e59b93bcfad7d06874c7d2ec.zip |
Continue project under name lightdm-remote-session-freerdp2.
Diffstat (limited to 'freerdp2-session-wrapper.c')
-rw-r--r-- | freerdp2-session-wrapper.c | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/freerdp2-session-wrapper.c b/freerdp2-session-wrapper.c new file mode 100644 index 0000000..76f299f --- /dev/null +++ b/freerdp2-session-wrapper.c @@ -0,0 +1,32 @@ +/* + * Copyright © 2012 Canonical Ltd. + * + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 3, as + * published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranties of + * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + * + * Author: Ted Gould <ted@canonical.com> + */ + +#include <stdlib.h> +#include <unistd.h> + +int +main (int argc, char * argv[]) +{ + char * args[2]; + args[0] = PKGDATADIR "/freerdp2-session"; + args[1] = NULL; + + execvp(args[0], args); + + return 0; +} |