#include <stdio.h>#include <sys/types.h>#include <sys/stat.h>#include "lib/lib.h"#include "lib/enchufe.h"#include "lib/uuid.h"#include "lib/log.h"Macros | |
| #define | BUF_LEN 0x1000 |
Functions | |
| void | lire (Enchufe cliente, UUID cid, SafeStr data_dir_path) |
| Handle when a client wants to read a block. | |
| void | ecriver (Enchufe cliente, size_t nbytes, SafeStr data_dir_path) |
| Handle when a cllient wants to write a block. | |
| int | main (int argc, Str *argv) |
| This is the data node implementation. | |
| #define BUF_LEN 0x1000 |
Handle when a cllient wants to write a block.
Handle when a client wants to read a block.
| int main | ( | int | argc, |
| Str * | argv ) |
This is the data node implementation.