how to create custom post status in wordpress

which of the following code snippets can be used to create custom
post status in wordpress 3.0+?

  1. register_new_post()
  2. register_post_status()
  3. add_new_post_status()
  4. modify_post_status()

the correct answer is :

register_post_status