MOS Source Code
Loading...
Searching...
No Matches
client.c File Reference
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <unistd.h>
#include <dirent.h>
#include <stdio.h>
#include <string.h>
#include <pb_encode.h>
#include <pb_decode.h>
#include "fileproto.pb.h"
#include "common.h"
+ Include dependency graph for client.c:

Go to the source code of this file.

Functions

bool ListFilesResponse_callback (pb_istream_t *istream, pb_ostream_t *ostream, const pb_field_iter_t *field)
 
bool listdir (int fd, char *path)
 
int main (int argc, char **argv)
 

Function Documentation

◆ ListFilesResponse_callback()

bool ListFilesResponse_callback ( pb_istream_t * istream,
pb_ostream_t * ostream,
const pb_field_iter_t * field )

Definition at line 30 of file client.c.

+ Here is the call graph for this function:

◆ listdir()

bool listdir ( int fd,
char * path )

Definition at line 50 of file client.c.

Referenced by main().

+ Here is the call graph for this function:

◆ main()

int main ( int argc,
char ** argv )

Definition at line 107 of file client.c.

+ Here is the call graph for this function: