Your problem is that you call enqueu with arguments (rear, front), but the function is expecting (front, rear). (By the way, you misspelled enqueue.)
Also, since I was looking at your code:
If (front == NULL) fails in line , you don't need to check (front != NULL) in line 82.
In lines 99 - 102, you are walking through the elements in the list looking for one with a priority == 0. If you never find one, you will walk past the end of the list.