FreeRDP
pf_capture.c File Reference
#include <stdio.h>
#include <string.h>
#include <winpr/image.h>
#include <winpr/sysinfo.h>
#include <winpr/path.h>
#include <winpr/file.h>
#include "pf_capture.h"

Functions

static BOOL pf_capture_create_dir_if_not_exists (const char *path)
 
static BOOL pf_capture_create_user_captures_dir (const char *base_dir, const char *username)
 
static BOOL pf_capture_create_current_session_captures_dir (pClientContext *pc)
 
BOOL pf_capture_create_session_directory (pClientContext *pc)
 
BOOL pf_capture_save_frame (pClientContext *pc, const BYTE *frame)
 

Function Documentation

◆ pf_capture_create_current_session_captures_dir()

static BOOL pf_capture_create_current_session_captures_dir ( pClientContext *  pc)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pf_capture_create_dir_if_not_exists()

static BOOL pf_capture_create_dir_if_not_exists ( const char *  path)
static

FreeRDP: A Remote Desktop Protocol Implementation FreeRDP Proxy Server Session Capture

Copyright 2019 Kobi Mizrachi kmizr.nosp@m.achi.nosp@m.18@gm.nosp@m.ail..nosp@m.com

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.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pf_capture_create_session_directory()

BOOL pf_capture_create_session_directory ( pClientContext *  context)

FreeRDP: A Remote Desktop Protocol Implementation FreeRDP Proxy Server Session Capture

Copyright 2019 Kobi Mizrachi kmizr.nosp@m.achi.nosp@m.18@gm.nosp@m.ail..nosp@m.com

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.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pf_capture_create_user_captures_dir()

static BOOL pf_capture_create_user_captures_dir ( const char *  base_dir,
const char *  username 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pf_capture_save_frame()

BOOL pf_capture_save_frame ( pClientContext *  pc,
const BYTE frame 
)
Here is the call graph for this function:
Here is the caller graph for this function: