A Unified Approach to Generalized Stirling Functions