Finish all base function protypes

startindex in search functions has been changed into int insead of int*