diff options
| author | Ken Raeburn <raeburn@mit.edu> | 2009-02-09 23:43:04 +0000 |
|---|---|---|
| committer | Ken Raeburn <raeburn@mit.edu> | 2009-02-09 23:43:04 +0000 |
| commit | 5b80063aebdb3eb2a330a47648137369661e5716 (patch) | |
| tree | f39689f287c76ec45cd60aa151421f5ae3c9108c /src/ccapi/server/win | |
| parent | 94cf674975471ec6c6bfa66f21de1559cc74983b (diff) | |
| download | krb5-5b80063aebdb3eb2a330a47648137369661e5716.tar.gz krb5-5b80063aebdb3eb2a330a47648137369661e5716.tar.xz krb5-5b80063aebdb3eb2a330a47648137369661e5716.zip | |
Rename functions from k5_ipc_stream_* to krb5int_ipc_stream_*, because some of them will have to be exported
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21938 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/ccapi/server/win')
| -rw-r--r-- | src/ccapi/server/win/WorkItem.cpp | 12 | ||||
| -rw-r--r-- | src/ccapi/server/win/ccs_os_server.cpp | 10 | ||||
| -rw-r--r-- | src/ccapi/server/win/ccs_request_proc.c | 6 |
3 files changed, 14 insertions, 14 deletions
diff --git a/src/ccapi/server/win/WorkItem.cpp b/src/ccapi/server/win/WorkItem.cpp index 2e9ebcc93..1b1725a8a 100644 --- a/src/ccapi/server/win/WorkItem.cpp +++ b/src/ccapi/server/win/WorkItem.cpp @@ -53,17 +53,17 @@ WorkItem::WorkItem(k5_ipc_stream buf, WIN_PIPE* pipe, const long type, const lon WorkItem::WorkItem(const WorkItem& item) : _buf(NULL), _rpcmsg(0), _pipe(NULL), _sst(0) {
k5_ipc_stream _buf = NULL;
- k5_ipc_stream_new(&_buf);
- k5_ipc_stream_write(_buf,
- k5_ipc_stream_data(item.payload()),
- k5_ipc_stream_size(item.payload()) );
+ krb5int_ipc_stream_new(&_buf);
+ krb5int_ipc_stream_write(_buf,
+ krb5int_ipc_stream_data(item.payload()),
+ krb5int_ipc_stream_size(item.payload()) );
WorkItem(_buf, item._pipe, item._rpcmsg, item._sst);
}
WorkItem::WorkItem() : _buf(NULL), _rpcmsg(CCMSG_INVALID), _pipe(NULL), _sst(0) { }
WorkItem::~WorkItem() {
- if (_buf) k5_ipc_stream_release(_buf);
+ if (_buf) krb5int_ipc_stream_release(_buf);
if (_pipe) ccs_win_pipe_release(_pipe);
}
@@ -123,4 +123,4 @@ int WorkList::remove(WorkItem** item) { }
return !bEmpty;
- }
\ No newline at end of file + }
diff --git a/src/ccapi/server/win/ccs_os_server.cpp b/src/ccapi/server/win/ccs_os_server.cpp index 99854d113..e80a1c3aa 100644 --- a/src/ccapi/server/win/ccs_os_server.cpp +++ b/src/ccapi/server/win/ccs_os_server.cpp @@ -279,8 +279,8 @@ cc_int32 ccs_os_server_listen_loop (int argc, const char *argv[]) { break;
case CCMSG_PING:
cci_debug_printf(" Processing PING");
- err = k5_ipc_stream_new (&stream);
- err = k5_ipc_stream_write(stream, "This is a test of the emergency broadcasting system", 52);
+ err = krb5int_ipc_stream_new (&stream);
+ err = krb5int_ipc_stream_write(stream, "This is a test of the emergency broadcasting system", 52);
err = ccs_os_server_send_reply(pipe, stream);
break;
default:
@@ -288,7 +288,7 @@ cc_int32 ccs_os_server_listen_loop (int argc, const char *argv[]) { rpcmsg, uuid);
break;
}
- if (buf) k5_ipc_stream_release(buf);
+ if (buf) krb5int_ipc_stream_release(buf);
/* Don't free uuid, which was allocated here. A pointer to it is in the
rpcargs struct which was passed to connectionListener which will be
received by ccapi_listen when the client exits. ccapi_listen needs
@@ -333,8 +333,8 @@ cc_int32 ccs_os_server_send_reply (ccs_pipe_t in_pipe, (unsigned char*)&h, /* client's tspdata* */
(unsigned char*)uuid,
getMySST(),
- k5_ipc_stream_size(in_reply_stream), /* Length of buffer */
- (const unsigned char*)k5_ipc_stream_data(in_reply_stream), /* Data buffer */
+ krb5int_ipc_stream_size(in_reply_stream), /* Length of buffer */
+ (const unsigned char*)krb5int_ipc_stream_data(in_reply_stream), /* Data buffer */
&status ); /* Return code */
}
RpcExcept(1) {
diff --git a/src/ccapi/server/win/ccs_request_proc.c b/src/ccapi/server/win/ccs_request_proc.c index 8a0da03f4..8421b7224 100644 --- a/src/ccapi/server/win/ccs_request_proc.c +++ b/src/ccapi/server/win/ccs_request_proc.c @@ -52,11 +52,11 @@ void ccs_rpc_request( status = (rpcmsg != CCMSG_REQUEST) && (rpcmsg != CCMSG_PING); if (!status) { - status = k5_ipc_stream_new (&stream); /* Create a stream for the request data */ + status = krb5int_ipc_stream_new (&stream); /* Create a stream for the request data */ } if (!status) { /* Put the data into the stream */ - status = k5_ipc_stream_write (stream, pbRequest, lenRequest); + status = krb5int_ipc_stream_write (stream, pbRequest, lenRequest); } pipe = ccs_win_pipe_new(pszUUID, *p); @@ -112,4 +112,4 @@ CC_UINT32 ccs_authenticate(const CC_CHAR* name) { if (hMap) CloseHandle(hMap); return result; - }
\ No newline at end of file + } |
