version 1.12, 2012/11/13 09:22:10
|
version 1.13, 2013/03/07 23:10:50
|
Line 12 terms:
|
Line 12 terms:
|
All of the documentation and software included in the ELWIX and AITNET |
All of the documentation and software included in the ELWIX and AITNET |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
|
|
Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 | Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
|
|
Redistribution and use in source and binary forms, with or without |
Redistribution and use in source and binary forms, with or without |
Line 64 rpc_srv_registerCall(rpc_srv_t * __restrict srv, u_sho
|
Line 64 rpc_srv_registerCall(rpc_srv_t * __restrict srv, u_sho
|
return -1; |
return -1; |
} |
} |
|
|
if (!(func = io_malloc(sizeof(rpc_func_t)))) { | if (!(func = e_malloc(sizeof(rpc_func_t)))) { |
LOGERR; |
LOGERR; |
return -1; |
return -1; |
} else { |
} else { |
Line 74 rpc_srv_registerCall(rpc_srv_t * __restrict srv, u_sho
|
Line 74 rpc_srv_registerCall(rpc_srv_t * __restrict srv, u_sho
|
|
|
/* search for duplicate */ |
/* search for duplicate */ |
if (AVL_FIND(tagRPCFuncs, &srv->srv_funcs, func)) { |
if (AVL_FIND(tagRPCFuncs, &srv->srv_funcs, func)) { |
io_free(func); | e_free(func); |
return 0; |
return 0; |
} |
} |
|
|
Line 116 rpc_srv_unregisterCall(rpc_srv_t * __restrict srv, u_s
|
Line 116 rpc_srv_unregisterCall(rpc_srv_t * __restrict srv, u_s
|
RPC_FUNCS_UNLOCK(&srv->srv_funcs); |
RPC_FUNCS_UNLOCK(&srv->srv_funcs); |
|
|
AIT_FREE_VAL(&f->func_name); |
AIT_FREE_VAL(&f->func_name); |
io_free(f); | e_free(f); |
return 1; |
return 1; |
} |
} |
|
|
Line 215 rpc_srv_unregisterBLOB(rpc_srv_t * __restrict srv, uin
|
Line 215 rpc_srv_unregisterBLOB(rpc_srv_t * __restrict srv, uin
|
TAILQ_REMOVE(&srv->srv_blob.blobs, b, blob_node); |
TAILQ_REMOVE(&srv->srv_blob.blobs, b, blob_node); |
|
|
rpc_srv_blobFree(srv, b); |
rpc_srv_blobFree(srv, b); |
io_free(b); | e_free(b); |
return 1; |
return 1; |
} |
} |