No drum cables go inside the drum itself and onto a "Handbrake lever" on the trailing shoe and have a nut on the end which hold them in place.
Calipers on the other hand have levers on the top usually and have different fixings on the two ends of the cable which sit over these levers to actuate them.
Martin