summaryrefslogtreecommitdiffstats
path: root/kiro-server.c
diff options
context:
space:
mode:
authorTimo Dritschler <timo.dritschler@kit.edu>2014-04-28 19:24:44 +0200
committerTimo Dritschler <timo.dritschler@kit.edu>2014-04-28 19:28:23 +0200
commit6b28a07e6bba885b3f33e7b81d3e76544f18ce07 (patch)
tree16b114536cd35b79545c098a747700dedcaebe3e /kiro-server.c
parent3405180e97cd6b4d4bef6fed2a7e666eb8126906 (diff)
downloadkiro-6b28a07e6bba885b3f33e7b81d3e76544f18ce07.tar.gz
kiro-6b28a07e6bba885b3f33e7b81d3e76544f18ce07.tar.bz2
kiro-6b28a07e6bba885b3f33e7b81d3e76544f18ce07.tar.xz
kiro-6b28a07e6bba885b3f33e7b81d3e76544f18ce07.zip
Added new function 'kiro_trb_dma_push' that allows the user to directly
write a new element into the buffers memory Changed the name of 'kiro_trb_ingest' to 'kiro_trb_adopt' Added new function 'kiro_trb_clone' that copies the pointed memory before 'adopting' it. Started to add documentation
Diffstat (limited to 'kiro-server.c')
-rw-r--r--kiro-server.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kiro-server.c b/kiro-server.c
index d4cf7bc..1ed47f8 100644
--- a/kiro-server.c
+++ b/kiro-server.c
@@ -136,6 +136,9 @@ int kiro_server_start (KiroServer *self, char *address, char *port)
}
printf("Enpoint listening.\n");
+
+ // ---> *SNIP*
+
priv->client = (struct kiro_connection *)calloc(1, sizeof(struct kiro_connection));
if(!priv->client)
{