Emergency c section?

I had my son a month ago and after pushing for 3 hours with no real progress we had to do a c section due to his heart rate dropping. It all happened really fast and I was curious as to weather it would be considered an emergency c section? They never told me and I was to out of it to ask.