add c get/set limit
add some c function.
some conf