OpenNSL API Guide and Reference Manual
Functions
example_rpc_client.c File Reference
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
#include <unistd.h>
#include <fcntl.h>
#include <stdlib.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <opennsl/error.h>
#include <opennsl/types.h>
#include <examples/util.h>
#include <cJSON.h>
#include <examples/rpc_utils.h>

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 
int process_response (char *buffer, int length, int api_id)
 

Function Documentation

int main ( int  argc,
char *  argv[] 
)
int process_response ( char *  buffer,
int  length,
int  api_id 
)