the piston-driving cam being provided with an inlet or an outlet