Hook_menu in Drupal7?

Define menu items and page callbacks

function hook_menu() {
  $items['example'] = array(
    'title' => 'Example Page',
    'page callback' => 'example_page',
    'page arguments' => array(1, foo),
    'access arguments' => array('access content'),
    'type' => MENU_NORMAL_ITEM,
    'weight' => 1,
  );
  return $items;

}

Tags