${CXX} -c ${CXXFLAGS} ${TEST_INC} ${GLOBUSINC} $<
man: ${MAN_GZ}
-
+
stage: compile ${FAKELIB} ${FAKETHRLIB}
$(MAKE) install PREFIX=${stagedir}
${INSTALL} -m 644 ${FAKELIB} ${FAKETHRLIB} ${stagedir}/lib
$(MAKE) install PREFIX=`pwd`/tmpbuilddir${stagedir}
save_dir=`pwd`; cd tmpbuilddir${stagedir} && tar -czf $$save_dir/${top_srcdir}/${distdir}/${package}-${version}_bin.tar.gz *; cd $$save_dir
rm -rf tmpbuilddir
-
+
install:
mkdir -p ${PREFIX}/bin
mkdir -p ${PREFIX}/sbin
goto err; /* error set in send_reply() */
}
- if(decode_il_msg(&event_char, ctx->connPoolNotif[0].buf) < 0)
- return edg_wll_SetError(ctx, EDG_WLL_IL_PROTO, "decoding event string");
-
+ {
+ il_octet_string_t ev;
+
+ if(decode_il_msg(&ev, ctx->connPoolNotif[0].buf) < 0)
+ return edg_wll_SetError(ctx, EDG_WLL_IL_PROTO, "decoding event string");
+ event_char = ev.data;
+ }
/****************************************************************/
/* end of notif-interlogger message exchange */
/****************************************************************/
lbproto_code = 0;
edg_wll_ResetError(context);
- len = encode_il_msg(&buffer, logline);
+ {
+ il_octet_string_t ll;
+
+ ll.len = strlen(logline);
+ ll.data = logline;
+ len = encode_il_msg(&buffer, &ll);
+ }
if(len < 0) {
edg_wll_SetError(context,ENOMEM,"edg_wll_log_proto_client_proxy(): error encoding message");
goto edg_wll_log_proto_client_proxy_end;
edg_wll_ResetError(context);
/* encode message */
- len = encode_il_msg(&buffer, logline);
+ {
+ il_octet_string_t ll;
+
+ ll.len=strlen(logline); ll.data=logline;
+ len = encode_il_msg(&buffer, &ll);
+ }
if(len < 0) {
edg_wll_SetError(context, ENOMEM, "edg_wll_log_proto_client_direct(): error encoding message");
goto edg_wll_log_proto_client_direct_end;