Funkcja niestandardowa jQuery AJAX i niestandardowe wywołanie zwrotne?

Heylow wszystkim!

mamajax() zadzwoń tak:

$.ajax({
  type: "post",
  url: "whatever.php",
  data: {
    theData: "moo moo"
  },
  success: function(data) {
    console.log(data);
  }
});

Czy jest możliwe zawinięcie tego wewnątrz funkcji niestandardowejale zachować oddzwonienie?
Coś jak:

function customAjax(u, d, theCallbackStuff) {
  $.ajax({
    type: "post",
    url: u,
    data: d,
    success: function(data) {
      //RUN theCallbackStuff
    }
  });
}

theCallbackStuff będzie coś w stylu:

var m = 1;
var n = 2;
alert(m + n + data);

questionAnswers(3)

yourAnswerToTheQuestion