Skip to content

File pl_file.h

FileList > cubrid > src > sp > pl_file.h

Go to the source code of this file

  • #include "porting.h"
  • #include <stdio.h>

Classes

Type Name
struct pl_server_info

Public Types

Type Name
typedef struct pl_server_info PL_SERVER_INFO

Public Functions

Type Name
bool pl_get_info_file (char * buf, size_t len, const char * db_name)
FILE * pl_open_info (const char * db_name, const char * mode)
bool pl_open_info_dir ()
bool pl_read_info (const char * db_name, PL_SERVER_INFO & info)
bool pl_reset_info (const char * db_name)
void pl_unlink_info (const char * db_name)
bool pl_write_info (const char * db_name, PL_SERVER_INFO * info)

Macros

Type Name
define PL_PID_DISABLED -1
define PL_PORT_DISABLED -2
define PL_PORT_UDS_MODE -1
define PL_SERVER_INFO_INITIALIZER {[**PL\_PID\_DISABLED**](pl__file_8h.md#define-pl_pid_disabled), [**PL\_PORT\_DISABLED**](pl__file_8h.md#define-pl_port_disabled)}

Public Types Documentation

typedef PL_SERVER_INFO

typedef struct pl_server_info PL_SERVER_INFO;

Public Functions Documentation

function pl_get_info_file

bool pl_get_info_file (
    char * buf,
    size_t len,
    const  char * db_name
) 

function pl_open_info

FILE * pl_open_info (
    const  char * db_name,
    const  char * mode
) 

function pl_open_info_dir

bool pl_open_info_dir () 

function pl_read_info

bool pl_read_info (
    const  char * db_name,
    PL_SERVER_INFO & info
) 

function pl_reset_info

bool pl_reset_info (
    const  char * db_name
) 

void pl_unlink_info (
    const  char * db_name
) 

function pl_write_info

bool pl_write_info (
    const  char * db_name,
    PL_SERVER_INFO * info
) 

Macro Definition Documentation

define PL_PID_DISABLED

#define PL_PID_DISABLED `-1`

define PL_PORT_DISABLED

#define PL_PORT_DISABLED `-2`

define PL_PORT_UDS_MODE

#define PL_PORT_UDS_MODE `-1`

define PL_SERVER_INFO_INITIALIZER

#define PL_SERVER_INFO_INITIALIZER `{ PL_PID_DISABLED , PL_PORT_DISABLED }`


The documentation for this class was generated from the following file cubrid/src/sp/pl_file.h