buffer for structure

please can any one say me how to create a buffer for a structure in opencl

thanks in advance.