Fix imports
This commit is contained in:
parent
620c42546f
commit
3788480b43
7 changed files with 13 additions and 15 deletions
|
@ -1,7 +1,6 @@
|
||||||
#include "packet.h"
|
#include "packet.h"
|
||||||
#include "key.h"
|
#include "key.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "server/server.h"
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Print contents of packet
|
* Print contents of packet
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "packet.h"
|
#include "packet.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "client/ui.h"
|
#include "zen/ui.h"
|
||||||
#include "client/db.h"
|
#include "zen/db.h"
|
||||||
#include "client/user.h"
|
#include "zen/user.h"
|
||||||
|
|
||||||
sqlite3 *db;
|
sqlite3 *db;
|
||||||
char zen_db_path[PATH_MAX];
|
char zen_db_path[PATH_MAX];
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include "notification.h"
|
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
#include "zen/notification.h"
|
||||||
|
|
||||||
void send_notification(uint8_t *author, uint8_t *content)
|
void send_notification(uint8_t *author, uint8_t *content)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "packet.h"
|
#include "packet.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "client/ui.h"
|
#include "zen/ui.h"
|
||||||
#include "client/db.h"
|
#include "zen/db.h"
|
||||||
#include "client/user.h"
|
#include "zen/user.h"
|
||||||
|
|
||||||
WINDOW *panel;
|
WINDOW *panel;
|
||||||
WINDOW *users_border;
|
WINDOW *users_border;
|
||||||
|
@ -18,6 +18,7 @@ message_t messages[100];
|
||||||
int num_messages = 0;
|
int num_messages = 0;
|
||||||
long current_user = 0;
|
long current_user = 0;
|
||||||
int current_window = 0;
|
int current_window = 0;
|
||||||
|
int current_mode;
|
||||||
int sockfd;
|
int sockfd;
|
||||||
|
|
||||||
/* For tracking cursor position in content */
|
/* For tracking cursor position in content */
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
#include "packet.h"
|
#include "packet.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "client/user.h"
|
#include "zen/user.h"
|
||||||
|
|
||||||
ArrayList *arraylist_init(size_t capacity)
|
ArrayList *arraylist_init(size_t capacity)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "packet.h"
|
#include "packet.h"
|
||||||
#include "key.h"
|
#include "key.h"
|
||||||
#include "notification.h"
|
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "client/ui.h"
|
#include "zen/notification.h"
|
||||||
#include "client/db.h"
|
#include "zen/ui.h"
|
||||||
#include "server/server.h"
|
#include "zen/db.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Authenticate with server by signing a challenge
|
* Authenticate with server by signing a challenge
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
#include "packet.h"
|
#include "packet.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "notification.h"
|
#include "zmr/zmr.h"
|
||||||
#include "server/server.h"
|
|
||||||
|
|
||||||
thread_t threads[MAX_THREADS];
|
thread_t threads[MAX_THREADS];
|
||||||
int num_thread = 0;
|
int num_thread = 0;
|
||||||
|
|
Loading…
Reference in a new issue