Diff for /libaitrpc/src/builtin.c between versions 1.13 and 1.17.12.1

version 1.13, 2013/04/02 15:50:14 version 1.17.12.1, 2014/01/28 14:04:57
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, 2013Copyright 2004 - 2014
         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 151  rpcServerShutdown(rpc_cli_t *cli, struct tagRPCCall *r Line 151  rpcServerShutdown(rpc_cli_t *cli, struct tagRPCCall *r
         rpc_freeCli(cli);          rpc_freeCli(cli);
   
         srv->srv_kill = 1;          srv->srv_kill = 1;
           if (srv->srv_blob.tid)
                   pthread_kill(srv->srv_blob.tid, SIGFBLOB);
         return 0;          return 0;
 }  }
   
 static int  static int
 rpcServerPing(rpc_cli_t *cli, struct tagRPCCall *rpc, array_t *iv)  rpcServerPing(rpc_cli_t *cli, struct tagRPCCall *rpc, array_t *iv)
 {  {
        if (rpc->call_req.flags == RPC_REPLY)        if (ntohl((u_long) rpc->call_req.flags) == RPC_REPLY)
                AIT_SET_U16(ait_getVars(&RPC_RETVARS(cli), 0), ntohs(rpc->call_seq));                AIT_SET_U16(ait_getVars(&RPC_RETVARS(cli), 0), random() % USHRT_MAX);
         return 0;          return 0;
 }  }
   
Line 274  rpcBLOBServerClients(rpc_cli_t *cli, struct tagRPCCall Line 276  rpcBLOBServerClients(rpc_cli_t *cli, struct tagRPCCall
  * @srv = RPC server instance   * @srv = RPC server instance
  * return: -1 error or 0 ok   * return: -1 error or 0 ok
  */   */
inline intint
 rpc_register_srvPing(rpc_srv_t * __restrict srv)  rpc_register_srvPing(rpc_srv_t * __restrict srv)
 {  {
         if (!srv)          if (!srv)

Removed from v.1.13  
changed lines
  Added in v.1.17.12.1


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>