diff --git a/src/client/Makefile.am b/src/client/Makefile.am
--- a/src/client/Makefile.am
+++ b/src/client/Makefile.am
@@ -1,6 +1,6 @@
bin_PROGRAMS = distren
distren_SOURCES = distren.c
-distren_LDADD = @DISTLIBS_LIBS@ @top_builddir@/src/common/libdistrencommon.la @XML_LIBS@
+distren_LDADD = @DISTLIBS_LIBS@ @top_builddir@/src/common/libdistrencommon.la libdistren.la @XML_LIBS@
distren_CFLAGS = @DISTLIBS_CFLAGS@ -I@top_srcdir@/src/common @XML_CPPFLAGS@
@@ -11,7 +11,7 @@ include_HEADERS = distren.h
lib_LTLIBRARIES = libdistren.la
-libdistren_la_SOURCES = distren.h
+libdistren_la_SOURCES = distren.h libdistren.h libdistren.c libdistren_job.c
#evidently the following should not be LDADD, but LDFLAGS because automake doesn't like the idea of LDADD for libraries for some reason... or I am very confused
libdistren_la_LIBADD = @DISTLIBS_LIBS@
libdistren_la_CXXFLAGS = @DISTLIBS_CFLAGS@
diff --git a/src/client/libdistren.c b/src/client/libdistren.c
new file mode 100644
--- /dev/null
+++ b/src/client/libdistren.c
@@ -0,0 +1,53 @@
+/*
+ Copyright 2008 Nathan Phillip Brink, Ethan Zonca, Matt Orlando
+
+ This file is a part of DistRen.
+
+ DistRen is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ DistRen is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with DistRen. If not, see .
+*/
+
+/*
+ Implementation of distren_* functions from distren.h excluding distren_job_* functions.
+ */
+
+#include
+
+
+/**
+ @TODO Stub
+ */
+int distren_init_mf(distren_t *handle, distren_malloc_t mymalloc, distren_free_t myfree)
+{
+}
+
+/**
+ @TODO Stub
+ */
+int distren_init(distren_t *handle)
+{
+}
+
+/**
+ @TODO Stub
+ */
+int distren_submit_file(distren_t handle, distren_job_t *job, const char *filename)
+{
+}
+
+/**
+ @TODO Stub
+ */
+int distren_free(distren_t handle)
+{
+}
diff --git a/src/client/libdistren.h b/src/client/libdistren.h
new file mode 100644
--- /dev/null
+++ b/src/client/libdistren.h
@@ -0,0 +1,35 @@
+/*
+ Copyright 2008 Nathan Phillip Brink, Ethan Zonca, Matt Orlando
+
+ This file is a part of DistRen.
+
+ DistRen is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ DistRen is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with DistRen. If not, see .
+*/
+
+/*
+ Private definitions for libdistren.
+ */
+
+#include
+
+struct distren
+{
+ distren_malloc_t malloc;
+ distren_free_t free;
+};
+
+struct distren_job
+{
+ char *jobid;
+};
diff --git a/src/client/libdistren_job.c b/src/client/libdistren_job.c
new file mode 100644
--- /dev/null
+++ b/src/client/libdistren_job.c
@@ -0,0 +1,45 @@
+/*
+ Copyright 2008 Nathan Phillip Brink, Ethan Zonca, Matt Orlando
+
+ This file is a part of DistRen.
+
+ DistRen is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ DistRen is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with DistRen. If not, see .
+*/
+
+/*
+ Implementation of distren_job_* functions from distren.h.
+ */
+
+#include
+
+/**
+ @TODO Stub
+ */
+int distren_job_getid(distren_job_t job, char **jobid)
+{
+}
+
+/**
+ @TODO Stub
+ */
+int distren_job_retrieve_file(distren_job_t job, const char *outfile)
+{
+}
+
+/**
+ @TODO Stub
+ */
+int distren_job_free(distren_job_t job)
+{
+}