Skip to Main Content
DCE Replacement Strategies
book

DCE Replacement Strategies

by Heinz Johner, Jakob Erber, Stephen Hawkins, Klaus Mueller, Pallavi Nagesha Rao, Donna Skibbie
June 2003
Intermediate to advanced content levelIntermediate to advanced
454 pages
10h 19m
English
IBM Redbooks
Content preview from DCE Replacement Strategies
Appendix A. Scenario 1: Source code listings 309
return FALSE;
}
} /* end is_client_authorized */
/* shutdown the aznAPI service */
void shutdown_authz(){
azn_status_t status;
status = azn_shutdown();
check_status("azn_shutdown", status);
}
Utility source of the revised application
Description: Utility module without DCE dependencies
File name: utils_s1.c
#
/* Common client and server utils. client code intended for use on windows only
*/
#include "utils_s1.h"
#define MAXLINE 512
/* non DCE function READN - Read nbytes from file descriptor FD */
int readn(register int fd,
register char * ptr,
register int nbytes) {
int nleft, nread;
nleft = nbytes;
while (nleft > 0) {
nread = read(fd, ptr, nleft);
if (nread < 0) return nread;
else if (nread == 0) ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Reinventing the Organization for GenAI and LLMs

Reinventing the Organization for GenAI and LLMs

Ethan Mollick

Publisher Resources

ISBN: 0738453080Purchase book