As shown here a line input resistor is connected in the high voltage line input section of the power supply. There may be an additional fuse and the order of resistor and varistor may be reversed, but this schematic will serve to illustrate the three functions of this component.