eventstore-client-c/src/credentials.h
Nicolas Dextraze aa0db4f07a Moved main to test
Moved esc.h to include
Added append_to_stream on connection
2018-03-24 09:30:29 -07:00

18 lines
407 B
C

//
// Created by nicolas on 22/03/18.
//
#ifndef ESC_ESC_CREDENTIALS_H
#define ESC_ESC_CREDENTIALS_H
struct st_credentials {
const char* username;
const char* password;
};
typedef struct st_credentials esc_credentials_t;
esc_credentials_t* esc_credentials_create(const char* username, const char* password);
void esc_credentials_destroy(esc_credentials_t* creds);
#endif //ESC_ESC_CREDENTIALS_H