FreeRDP
server/sshagent_main.c File Reference
#include <freerdp/channels/wtsvc.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/time.h>
#include <sys/resource.h>

Macros

#define _PATH_DEVNULL   "/dev/null"
 

Functions

void mktemp_proto (char *s, size_t len)
 
static void setup_ssh_agent (struct sockaddr_un *addr)
 
static void handle_connection (int client_fd)
 
int main (int argc, char **argv)
 

Variables

static char socket_name [PATH_MAX]
 
static char socket_dir [PATH_MAX]
 
static int sa_uds_fd = -1
 
static int is_going = 1
 

Macro Definition Documentation

#define _PATH_DEVNULL   "/dev/null"

FreeRDP: A Remote Desktop Protocol Implementation SSH Agent Virtual Channel Extension

Copyright 2012-2013 Jay Sorg Copyright 2012-2013 Laxmikant Rashinkar Copyright 2017 Ben Cohen

Licensed 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.

Function Documentation

static void handle_connection ( int  client_fd)
static

Here is the call graph for this function:

Here is the caller graph for this function:

int main ( int  argc,
char **  argv 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void mktemp_proto ( char *  s,
size_t  len 
)

Here is the caller graph for this function:

static void setup_ssh_agent ( struct sockaddr_un *  addr)
static

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

int is_going = 1
static
int sa_uds_fd = -1
static
char socket_dir[PATH_MAX]
static
char socket_name[PATH_MAX]
static