What does prev, curr & temp stand for?

struct Node;
	typedef Node* NodePtr;
	struct Node
	{
		void* data;
		NodePtr prev, curr;
	};

	void bigTraversal(const NodePtr& head, const NodePtr& tail) 
	{
		// need to by pass by temp
		NodePtr temp = head;
		
		while(temp != NULL)
		{
			temp = temp -> next;
		}
		temp = tail;

		while(temp != NULL)
			temp = temp -> prev;
	}

They are all pointers to Node. (Node*)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.