Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
34c3e0b7af
  1. 4
      basilisk/basilisk.c
  2. 4
      includes/iguana_apideclares.h

4
basilisk/basilisk.c

@ -1021,12 +1021,12 @@ HASH_ARRAY_STRING(basilisk,subscribe,pubkey,vals,hexstr)
return(basilisk_standardservice("SUB",myinfo,pubkey,vals,hexstr,1));
}
HASH_ARRAY_STRING(basilisk,setfield,pubkey,vals,hexstr)
HASH_ARRAY_STRING(basilisk,set,pubkey,vals,hexstr)
{
return(basilisk_standardservice("SET",myinfo,pubkey,vals,hexstr,1));
}
HASH_ARRAY_STRING(basilisk,getfield,pubkey,vals,hexstr)
HASH_ARRAY_STRING(basilisk,get,pubkey,vals,hexstr)
{
return(basilisk_standardservice("GET",myinfo,pubkey,vals,hexstr,1));
}

4
includes/iguana_apideclares.h

@ -23,8 +23,8 @@ HASH_ARRAY_STRING(basilisk,addrelay,pubkey,vals,hexstr);
HASH_ARRAY_STRING(basilisk,dispatch,pubkey,vals,hexstr);
HASH_ARRAY_STRING(basilisk,publish,pubkey,vals,hexstr);
HASH_ARRAY_STRING(basilisk,subscribe,pubkey,vals,hexstr);
HASH_ARRAY_STRING(basilisk,setfield,pubkey,vals,hexstr);
HASH_ARRAY_STRING(basilisk,getfield,pubkey,vals,hexstr);
HASH_ARRAY_STRING(basilisk,set,pubkey,vals,hexstr);
HASH_ARRAY_STRING(basilisk,get,pubkey,vals,hexstr);
HASH_ARRAY_STRING(basilisk,forward,pubkey,vals,hexstr);
HASH_ARRAY_STRING(basilisk,mailbox,pubkey,vals,hexstr);

Loading…
Cancel
Save