Sybase CEPallows you to write your own UDFs in C or C++ and call those functions from within CCL code.
For example, you can write a function "foo" that processes an integer value and returns a single value, and then call that function from a query:
INSERT INTO OutputStream SELECT foo(InputStream.MyIntegerColumn) FROM InputStream... ;