ngc 1.5.0
 
Loading...
Searching...
No Matches
ngcppComMem.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <ngc/core/ngcbSocket.h>
#include <ngc/core/ngcppInt.h>
#include <ngc/core/ngcppCom.h>

Functions

int ngcppUploadBuf (ngcpp_link_t lnk, char *buf, int id, int size, int blockSize, char *erms)
 
int ngcppMemSync (ngcpp_link_t lnk, int id, char *erms)
 
int ngcppMemClose (ngcpp_link_t lnk, char *erms)
 

Variables

ngcpp_cmd_t ngcppCommand
 
ngcpp_rep_t ngcppReply
 

Detailed Description

Function Documentation

◆ ngcppMemClose()

int ngcppMemClose ( ngcpp_link_t link,
char * erms )

Removes a shared memory data area.

◆ ngcppMemSync()

int ngcppMemSync ( ngcpp_link_t link,
int id,
char * erms )

Swaps the datasets for id (id can be or'ed).

◆ ngcppUploadBuf()

int ngcppUploadBuf ( ngcpp_link_t link,
char * buf,
int id,
int size,
int blockSize,
char * erms )

Sets buffer in user reserved memory at the offset position. If blockSize is greater than the maximum command buffer size, the buffer is transferred via a raw socket.

Variable Documentation

◆ ngcppCommand

ngcpp_cmd_t ngcppCommand
extern

◆ ngcppReply

ngcpp_rep_t ngcppReply
extern