PT_FindCPoint

Cogent API and Utilities: Version 4.1
Prev |  | Next

# `PT_FindCPoint`

`PT_FindCPoint` -- looks up a point by name in the internal point hash table.

## Syntax

    #include <cogdb.h>

``PT_pCPOINT PT_FindCPoint`(char* name);`

## Arguments

`name`

  The point name to be found in the internal hash table created by PT_InitClient.

## Returns

A pointer to a PT_stCPOINT structure, or NULL if PT_InitClient has not yet been called.

## Description

This function looks up a point by name in the internal point hash table. If the point name does not exist, then a new point structure is created through a call to PT_NewCPoint, and the result is returned.

## See Also

Point Structure, Storage, and Manipulation, PT_InitClient, PT_NewCPoint

Prev | Home | Next
Point Manipulation Functions | Up | `PT_InitClient`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.