interface_v1.cc | interface_v1.cc | |||
---|---|---|---|---|
/* -*- Mode: C; tab-width: 2; c-basic-offset: 2; indent-tabs-mode: nil -*- */ | /* -*- Mode: C; tab-width: 2; c-basic-offset: 2; indent-tabs-mode: nil -*- */ | |||
/** | /** | |||
* This file contains an implementation of the callback interface for level 1 | * This file contains an implementation of the callback interface for level 1 | |||
* in the protocol library. If you compare the implementation with the one | * in the protocol library. If you compare the implementation with the one | |||
* in interface_v0.cc you will see that this implementation is much easier and | * in interface_v0.cc you will see that this implementation is much easier and | |||
* hides all of the protocol logic and let you focus on the application | * hides all of the protocol logic and let you focus on the application | |||
* logic. One "problem" with this layer is that it is synchronous, so that | * logic. One "problem" with this layer is that it is synchronous, so that | |||
* you will not receive the next command before a answer to the previous | * you will not receive the next command before a answer to the previous | |||
* command is being sent. | * command is being sent. | |||
*/ | */ | |||
#include "config.h" | #include "mem_config.h" | |||
#include <cassert> | #include <cassert> | |||
#include <cerrno> | #include <cerrno> | |||
#include <cstdio> | #include <cstdio> | |||
#include <cstdlib> | #include <cstdlib> | |||
#include <cstring> | #include <cstring> | |||
#include <fcntl.h> | #include <fcntl.h> | |||
#include <sys/types.h> | #include <sys/types.h> | |||
#include <unistd.h> | #include <unistd.h> | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |