add libctdb getrecmaster control recv function and