GL_ARB_texture_non_power_of_two
If the GL_ARB_texture_non_power_of_two extension is supported on your system, then you will be able to use textures of any size (within the limits of the system). No functions or constants are added with this extension.
Not exactly the most complicated of extensions.