Doing that now :) For some reason, my typedef struct BFIContext is not being recognized when I declare one inside a function like BFIContext *bfi = s->priv_data; All my errors say that 'BFIContext' has no member named 'membername'. I think I'm making some fundamental mistake here :( ----------------- Sisir Koppaka