The head and tail go in ListType.
Code:
    typedef struct Node {
      MovieType *data;
      struct Node *prev;
      struct Node *next;
    } NodeType; 
 
    typedef struct{
        Node *head;
        Node *tail;
        int nextId;
    } ListType;