Commit 4154b64c authored by 's avatar

Add 'agent' component for DiMAPI

git-svn-id: file:///home/svn/mapi/trunk@142 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent de6d1fdb
include ../Makefile.in
C_WARNINGS = -Wall -Wsign-compare -Wpointer-arith -Wnested-externs \
-Wmissing-declarations -Wcast-align -Wchar-subscripts
#C_FEATURES = -D_GNU_SOURCE -D_THREAD_SAFE
......@@ -18,7 +20,7 @@ all: $(BINS)
$(CC) $(CFLAGS) $(INCLUDE) -c $<
agent: agent.o
$(CC) $(CFLAGS) ../mapi.so $< -o $@ $(LDLIBS)
$(CC) $(CFLAGS) $(INSTALL_LIBDIR)/mapi.so $< -o $@ $(LDLIBS)
clean:
$(RM) *.o $(BINS)
......@@ -235,7 +235,7 @@ void *handle_request(void *arg) {
}
break;
case GET_NEXT_PKT:
fprintf(stdout,"GET_NEXT_PKT\n");
//fprintf(stdout,"GET_NEXT_PKT\n");
pkt = (struct mapipkt *)mapi_get_next_pkt(dbuf->fd,dbuf->fid);
gettimeofday(&tv, &tz);
dbuf->timestamp = tv.tv_usec;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment