]> rtime.felk.cvut.cz Git - frescor/frsh.git/commit
Do not use random contract IDs
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 24 Jun 2010 22:41:01 +0000 (00:41 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 24 Jun 2010 22:43:40 +0000 (00:43 +0200)
commit668fdf45338b2be908d36c6d76d862310d44d2c0
tree7a99ef38881beda2b172b7e51f0b17532ba4f663
parent6653addd660da2dae5e79974fdd23e4a9e4e317c
Do not use random contract IDs

Instead use a counter in FCB which is used as a value of a contracts ID.
Currently, we have a centralized FCB, so this is no harm for us and we get
a more readable log output as well as repeatable ID for testing.
fres/cbroker/fcb.c
fres/contract/fres_contract.h
fres/contract/fres_contract_idl.idl