The same flag for an interrupt
The SPI_I2S_FLAG* flags are used in polling mode, while  SPI_I2S_IT* flags are for interrupt mode.

See here for more details: http://web.eece.maine.edu/~hummels/classes/ece486/docs/libperiph_doc/group__SPI__Group5.html