MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / ISC_check_if_remote

Function ISC_check_if_remote

src/common/isc_file.cpp:514–533  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

512
513
514bool ISC_check_if_remote(const tstring& file_name, bool implicit_flag)
515{
516/**************************************
517 *
518 * I S C _ c h e c k _ i f _ r e m o t e
519 *
520 **************************************
521 *
522 * Functional description
523 * Check to see if a path name resolves to a
524 * remote file. If implicit_flag is true, then
525 * analyze the path to see if it resolves to a
526 * file on a remote machine. Otherwise, simply
527 * check for an explicit node name.
528 *
529 **************************************/
530 tstring temp_name = file_name;
531 tstring host_name;
532 return ISC_extract_host(temp_name, host_name, implicit_flag) != ISC_PROTOCOL_LOCAL;
533}
534
535
536iscProtocol ISC_extract_host(Firebird::PathName& file_name,

Callers 4

internalAttachMethod · 0.85
createDatabaseMethod · 0.85
validatePasswordFunction · 0.85
loadConfigMethod · 0.85

Calls 1

ISC_extract_hostFunction · 0.85

Tested by

no test coverage detected