You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
633 B
C
23 lines
633 B
C
/****************************************************************************/
|
|
/* Test for SLPOpen */
|
|
/* Creation Date: Wed May 24 14:26:50 EDT 2000 */
|
|
/****************************************************************************/
|
|
#include <stdio.h>
|
|
#include <slp.h>
|
|
#include <slp_debug.h>
|
|
|
|
int
|
|
main (int argc, char *argv[])
|
|
{
|
|
SLPError err;
|
|
SLPHandle hslp;
|
|
|
|
err = SLPOpen ("en", SLP_FALSE, &hslp);
|
|
check_error_state(err,"Error opening slp handle");
|
|
|
|
/* Now that we're done using slp, close the slp handle */
|
|
SLPClose (hslp);
|
|
|
|
return(0);
|
|
}
|