IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 29, 2005, 4:35:06 PM (21 years ago)
Author:
jhoblitt
Message:

rename PS::IPP::IData -> Nebulous

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous/nebclient/src/test.c

    r4120 r4440  
    11#include <stdio.h>
    22#include <unistd.h>
    3 #include "idataclient.h"
     3#include "nebclient.h"
    44
    55int main (int argc, char **argv) {
    6     idataServer     server;
     6    nebServer     server;
    77    char            *URI;
    88    int             fh;
     
    1010    char            **foo;
    1111
    12     idataServerInit(&server);
     12    nebServerInit(&server);
    1313
    14     fh = idataCreate(&server, argv[1], 0, NULL, NULL, &URI);
     14    fh = nebCreate(&server, argv[1], 0, NULL, NULL, &URI);
    1515
    1616    if (fh > 0) {
    1717        printf( "uri is %s\n", URI );
    1818
    19         idataFree(URI);
     19        nebFree(URI);
    2020
    2121        if(close(fh) != 0){
     
    2525        printf( "local error\n" );
    2626    } else {
    27         printf( "server error: %s\n", idataServerErr(&server) );
     27        printf( "server error: %s\n", nebServerErr(&server) );
    2828    }
    2929
    30     n = idataFindInstances(&server, argv[1], NULL, &foo);
     30    n = nebFindInstances(&server, argv[1], NULL, &foo);
    3131    printf( "found %d instances\n", n );
    3232
    33     idataServerCleanup(&server);
     33    nebServerCleanup(&server);
    3434
    3535    exit(0);
Note: See TracChangeset for help on using the changeset viewer.