Why not add the name of the texture in texture.h to use options?
Your text:
struct Texture_Struct: public Pattern_Struct
{
TextureBlendMapPtr Blend_Map;
int References;
TEXTURE * Next;
string name; // Add your code !!!!!!!!!!!!!!!!
It will not affect the code, but it allows you to manipulate using povray as a
library...