コード例 #1
0
/**
 * @brief
 *	A wrapper function to the cnt2server_extend() call where there's
 *	no 'extend' parameter passed.
 *
 * @param[in]	server	- hostname of the pbs server to connect to
 *
 * @return      int
 * @retval      connection      success
 * @retval	0		fail
 */
int
cnt2server(char *server)
{
	return (cnt2server_extend(server, (char *)0));
}
コード例 #2
0
ファイル: cnt2server.c プロジェクト: Bhagat-Rajput/pbspro
/**
 * @brief
 *	A wrapper function to the cnt2server_extend() call where there's
 *	no 'extend' parameter passed.
 *
 * @param[in]	server	- hostname of the pbs server to connect to
 *
 * @return      int
 * @retval      connection      success
 * @retval	0		fail
 */
int
cnt2server(char *server)
{
	return (cnt2server_extend(server, NULL));
}