-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added API for client and created test client. Also cleaned up code. #73
base: master
Are you sure you want to change the base?
Conversation
$(CC) $(CFLAGS) client-kv.c -o client-kv $(DEPS) | ||
|
||
client_api: client_api.c | ||
$(CC) -c client_api.c -o client_api.o |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-o
flag is unnecessary (you're only compiling one field and it defaults to the name), but you can leave it
} | ||
|
||
int | ||
read_get_msg(int sockfd, struct operation * msg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add the __ prefix before this function to state it's an internal function.
I made the appropiate changes to the Makefile and api. I haven't touched the test file (besides moving it to another directory), as Tim said another group was handling that part. @jdk514 @sacul29 |
No description provided.