2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2025-08-29 06:18:15 +00:00
Files
xcat-dep/zhcp/zhcp-build/resource_access/include/smSocket.h
phamt 07988c9aaf Checked in code for zHCP
Former-commit-id: 65e99f12d360a09b00e8c8c54b106914b8de9c2a
2010-04-13 20:27:58 +00:00

17 lines
659 B
C

// IBM (C) Copyright 2010 Eclipse Public License
// http://www.eclipse.org/org/documents/epl-v10.html
#ifndef _SMSOCKET_H
#define _SMSOCKET_H
#include "smPublic.h"
int smSocketInitialize(struct _VmApiInternalContext* vmapiContextP,
int * sockId);
int smSocketWrite(struct _VmApiInternalContext* vmapiContextP, int sockId,
char * data, int dataLen);
int smSocketRead(struct _VmApiInternalContext* vmapiContextP, int sockId,
char * buff, int len);
int smSocketReadLoop(struct _VmApiInternalContext* vmapiContextP, int sockId,
char * buff, int len);
int smSocketTerminate(struct _VmApiInternalContext* vmapiContextP, int sockId);
#endif