Lines Matching refs:map_ctrl

28  *		of map_ctrl structures. These are used to hold information
77 * DESCRIPTION: Create and a new map_ctrl in a non opened state.
81 * OUTPUTS: Pointer to map_ctrl
85 map_ctrl *
89 map_ctrl *map;
91 map = (map_ctrl *)am(myself, sizeof (map_ctrl));
93 logmsg(MSG_NOTIMECHECK, LOG_ERR, "Could not alloc map_ctrl");
111 * Initialize the fields of the map_ctrl. By doing this once here we
116 "Could not initialize map_ctrl for %s", name);
127 * DESCRIPTION: Initializes the fields of a map_ctrl structure.
129 * By doing this once (when the map_ctrl is created) we avoid
136 * RETURNS : SUCCESS = map_ctrl fully set up.
137 * FAILURE = map_ctrl not set up CALLER MUST FREE.
140 map_ctrl_init(map_ctrl *map, char *name)
260 * DESCRIPTION: Find an existing map_ctrl for a map of a given DBM * (i.e.
265 * OUTPUTS: Pointer to map_ctrl
269 map_ctrl *
272 /* Check that this really is a map_ctrl not a DBM */
273 if (((map_ctrl *)db)->magic != MAP_MAGIC) {
280 return ((map_ctrl *)db);
286 * DESCRIPTION: Duplicates a map_ctrl structure
290 * RETURNS : Pointer to a new malloced map_ctrl. CALLER MUST FREE
293 map_ctrl *
294 dup_map_ctrl(map_ctrl *old_map)
296 map_ctrl *new_map;
327 * INPUTS: Pointer to pointer to a map_ctrl.
333 free_map_ctrl(map_ctrl *map)
389 * DESCRIPTION: Get the name of a map from its map_ctrl. This could be done
391 * implementation of map_ctrl from higher layers.
393 * GIVEN : A map_ctrl pointer
395 * RETURNS : A pointer to the map_ctrl. Higher levels treat this as an
402 map_ctrl *map = (map_ctrl *)db;
415 * GIVEN : Pointer to the map_ctrl to set up.
422 set_key_data(map_ctrl *map, datum *data)
463 * GIVEN : Initialized map_ctrl
469 open_yptol_files(map_ctrl *map)