cpc_header

add some basic functions from passivequeuebase