There are both, a plastic adjuster nut and a locking nut on one side of the cable, you undo the locking nut and then undo the adjuster this will give you slack in the cable to hook over the handbrake 'hook' on the caliper.
I don't see why you have taken it off though if your just replacing discs?
Martin