well the one function is in a .c file i'm using in my project, and the function in that .c file uses other functions in the file, so its quite lengthy.