My Project
client_main.cpp File Reference
#include "client.hpp"
#include "definitions.hpp"
#include "util.hpp"
#include "wordle-de.pb.h"
#include <cstdio>
#include <iostream>
#include <mutex>
#include <stdexcept>
#include <string>
#include <thread>
Include dependency graph for client_main.cpp:

Enumerations

enum  State {
  INPUT_LOGIN , WF_LOGIN_ACK , WF_GAME_STATE , INPUT_GUESS ,
  WF_GUESS_ACK , WF_NEW_WORD
}
 

Functions

std::string getUsernameFromInput ()
 
std::string getPasswordFromInput ()
 
std::string getGuessFromInput ()
 
void received (uint16_t fd, char *inputBuffer)
 
int main ()
 

Enumeration Type Documentation

◆ State

enum State
Enumerator
INPUT_LOGIN 
WF_LOGIN_ACK 
WF_GAME_STATE 
INPUT_GUESS 
WF_GUESS_ACK 
WF_NEW_WORD 

Function Documentation

◆ getGuessFromInput()

std::string getGuessFromInput ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getPasswordFromInput()

std::string getPasswordFromInput ( )
Here is the caller graph for this function:

◆ getUsernameFromInput()

std::string getUsernameFromInput ( )
Here is the caller graph for this function:

◆ main()

int main ( )
Here is the call graph for this function:

◆ received()

void received ( uint16_t  fd,
char *  inputBuffer 
)