Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Hosts some exercises from the Distributed Systems Course

Notifications You must be signed in to change notification settings

cpetre01/DS-MandatoryExercise

Repository files navigation

DS-MandatoryExercise

Repo used for both Mandatory Exercises in Distributed Systems

This branch is used for Mandatory Exercise 2

Project Structure:

app: source code for client and server executables

build: directory used to build the project; create it if it doesn't exist

extern: directory that includes googletest; required for unittests; create it if it doesn't exist

include: header files

    dbms: header files for DBMS library

        dbms.h: function prototypes used for DB management; server-side API

        dbmsUtils.h: function prototypes called internally in the dbms module

    keys.h: header for keys library; client-side API
    
    netUtils.h: header for netUtils library; contains function prototypes used to send and receive stuff; network API used by both server and client

    utils.h: types, constants and function prototypes used throughout the project; useful stuff

src: library source code and auxiliary source files

    dbms: source code for DBMS library

        dbms.c: source code for DB management; server-side API

        dbmsUtils.c: source code for the function prototypes defined in dbmsUtils.h

    keys.c: source code for keys library; client-side API
    
    netUtils.c: source code for netUtils library; network API

    utils.c: source code for the function prototypes defined in utils.h

test: unittests with GoogleTest

Unittests with GoogleTest:

keys (Client API): tests services; requires a running server