Check-in Number:
|
757 | |
Date: |
2001-Aug-23 14:41:12 (local)
2001-Aug-23 12:41:12 (UTC) |
User: | simons |
Branch: | |
Comment: |
Added prototypes of routines mapping between amp_peer_t and fd. |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/srpc/libamp/amp.h 1.3 -> 1.4
--- amp.h 2001/08/23 12:39:26 1.3
+++ amp.h 2001/08/23 12:41:12 1.4
@@ -39,6 +39,9 @@
amp_peer_t* amp_create_peer(const char* engine, const char* peer);
int amp_destroy_peer(amp_peer_t* peer);
+int amp_peer2fd(amp_peer_t* peer);
+amp_peer_t* amp_fd2peer(int fd);
+
int amp_send(amp_peer_t* peer, const void* msg, size_t msg_len);
int amp_receive(amp_peer_t* peer, const void** msg, size_t* msg_len);
|
|