Blame src/internal/ptycon_status_impl.h

469553
#ifndef PTYCON_STATUS_IMPL_H
469553
#define PTYCON_STATUS_IMPL_H
469553
469553
#include <psxtypes/psxtypes.h>
469553
#include <ntapi/ntapi.h>
469553
#include <ptycon/ptycon.h>
469553
469553
static int ptyc_set_status(struct ptyc_driver_ctx * dctx, int32_t status)
469553
{
469553
	dctx->status = status;
469553
469553
	return (status == NT_STATUS_SUCCESS)
469553
		? 0 : -1;
469553
}
469553
469553
#endif