Files
xrdp/sesman/sesexec_control.h
matt335672 4d990cfc16 Rename the pre-session list to the SCP list
The name pre-session list makes no sense now, as we need items
to remain on the list after starting the session and before
connecting.
2025-07-07 15:02:51 +01:00

50 lines
1.2 KiB
C

/**
* xrdp: A Remote Desktop Protocol server.
*
* Copyright (C) 2023 Matt Burt
*
* 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.
*/
/**
*
* @file sesexec_control.h
* @brief Start/stop session executive process
* @author Matt Burt
*
*/
#ifndef SESEXEC_H
#define SESEXEC_H
#include <sys/types.h>
struct trans;
struct scp_list_item;
/**
* Start a session executive
* @param sli SCP list item to allocate EICP transport to
* @result 0 for success
*
* If non-zero is returned, all errors have been logged.
* If zero is returned, the sesexec_trans and sesexec_pid fields of
* the SCP_list_item have been initialised.
*/
int
sesexec_start(struct scp_list_item *sli);
#endif // SESEXEC_H