@c Copyright (c) 1998 - 2000 Kungliga Tekniska Högskolan @c (Royal Institute of Technology, Stockholm, Sweden). @c All rights reserved. @c $arla: servers.texi,v 1.10 2000/12/01 08:32:34 lha Exp $ @c @c This file contain random junk that should be ordered some day @c @section YDR @cindex Ydr @cindex Rxgen @code{Ydr} is a rxgen replacement that is generating a lot more stuff then rxgen (like headerfiles). It also does the same thing in one run instead of three (rxgen does one run for ss.c cs.c and .h, and each time passes the whole data thru cpp). @code{Ydr} was created when there was no free rx package. Things to remeber about ydr and ydr generated code: @itemize @bullet @item When a server function is done out mashalling and writing out data it will free all data that contains VARRAYs. The functions you are intressed in is @code{generate_server_stub} and @code{genfree}. @item When a server functions fail (ie returns != 0), mashalling of out-data is not done, and out-data is not freed, instead rx_Error() is called with that error (See @code{generate_server_stub}. @item To use ydr (to describe when is codeing a struct or running ydr on a file) is called ydra. @end itemize @c Creations of a volume @c VOLSER_ListPartions @c VL_GetEntryByNameN -> VL_NOENT @c VOLSER_CreateVolume @c VOLSER_SetFlags @c VOLSER_EndTrans (rcode ignored ?) @c VL_CreateEntryN